diff options
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index 901ff437e700..747178f03d2c 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -16,6 +16,9 @@ | |||
16 | #ifndef GIGASET_H | 16 | #ifndef GIGASET_H |
17 | #define GIGASET_H | 17 | #define GIGASET_H |
18 | 18 | ||
19 | /* define global prefix for pr_ macros in linux/kernel.h */ | ||
20 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
21 | |||
19 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
20 | #include <linux/compiler.h> | 23 | #include <linux/compiler.h> |
21 | #include <linux/types.h> | 24 | #include <linux/types.h> |
@@ -97,17 +100,6 @@ enum debuglevel { | |||
97 | activated */ | 100 | activated */ |
98 | }; | 101 | }; |
99 | 102 | ||
100 | /* Kernel message macros for situations where dev_printk and friends cannot be | ||
101 | * used for lack of reliable access to a device structure. | ||
102 | * linux/usb.h already contains these but in an obsolete form which clutters | ||
103 | * the log needlessly, and according to the USB maintainer those should be | ||
104 | * removed rather than fixed anyway. | ||
105 | */ | ||
106 | #undef err | ||
107 | |||
108 | #define err(format, arg...) printk(KERN_ERR KBUILD_MODNAME ": " \ | ||
109 | format "\n" , ## arg) | ||
110 | |||
111 | #ifdef CONFIG_GIGASET_DEBUG | 103 | #ifdef CONFIG_GIGASET_DEBUG |
112 | 104 | ||
113 | #define gig_dbg(level, format, arg...) \ | 105 | #define gig_dbg(level, format, arg...) \ |