wct4xxp: Allow vpm450m.c to compile against vanilla 2.6.18.

This adds definitions for bool and pr_fmt which are needed when compiling
against vanilla 2.6.18.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
This commit is contained in:
Shaun Ruffell 2013-05-09 11:57:52 -05:00 committed by Russ Meyerriecks
parent 244f621eb1
commit db040e5cd7

View File

@ -19,12 +19,17 @@
* this program for more details. * this program for more details.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/version.h> #include <linux/version.h>
#include <dahdi/kernel.h>
#include <stdbool.h>
#include "vpm450m.h" #include "vpm450m.h"
#include "oct6100api/oct6100_api.h" #include "oct6100api/oct6100_api.h"