diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-07-26 16:32:12 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-07-26 16:32:12 +0000 |
commit | b01124c5b26a37d12d114dc4cd54007d44fc8ef9 (patch) | |
tree | b7ddc336a24f299cb440eee4746b518a92936439 /package/button-hotplug | |
parent | beb77154473a84360af00a732e7a162af76fb218 (diff) | |
download | master-187ad058-b01124c5b26a37d12d114dc4cd54007d44fc8ef9.tar.gz master-187ad058-b01124c5b26a37d12d114dc4cd54007d44fc8ef9.tar.bz2 master-187ad058-b01124c5b26a37d12d114dc4cd54007d44fc8ef9.zip |
[package] button-hotplug: fix compile warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11937 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/button-hotplug')
-rw-r--r-- | package/button-hotplug/src/button-hotplug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/button-hotplug/src/button-hotplug.c b/package/button-hotplug/src/button-hotplug.c index 3b5527fcf2..f76b9277fd 100644 --- a/package/button-hotplug/src/button-hotplug.c +++ b/package/button-hotplug/src/button-hotplug.c @@ -24,7 +24,7 @@ #include <net/sock.h> #define DRV_NAME "button-hotplug" -#define DRV_VERSION "0.3.0" +#define DRV_VERSION "0.3.1" #define DRV_DESC "Button Hotplug driver" #define BH_SKB_SIZE 2048 @@ -36,15 +36,15 @@ #define PFX DRV_NAME ": " -/*#define BH_DEBUG*/ +#undef BH_DEBUG #ifdef BH_DEBUG -#define BH_DBG(fmt, args...) printk(KERN_DEBUG "%s" fmt, ##args ) +#define BH_DBG(fmt, args...) printk(KERN_DEBUG "%s: " fmt, DRV_NAME, ##args ) #else #define BH_DBG(fmt, args...) do {} while (0) #endif -#define BH_ERR(fmt, args...) printk(KERN_ERR "%s" fmt, ##args ) +#define BH_ERR(fmt, args...) printk(KERN_ERR "%s: " fmt, DRV_NAME, ##args ) struct bh_priv { unsigned long seen[BH_BTN_COUNT]; |