From: Gabor Juhos Date: Sat, 26 Jul 2008 16:32:12 +0000 (+0000) Subject: button-hotplug: fix compile warnings X-Git-Tag: v19.07.0-rc1~36675 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3035d2e7c9f8c2c8be7ef3c01170a24981d2a6e6;p=openwrt%2Fstaging%2Fhauke.git button-hotplug: fix compile warnings SVN-Revision: 11937 --- 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 #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];