diff options
Diffstat (limited to 'drivers/usb/misc/adutux.c')
-rw-r--r-- | drivers/usb/misc/adutux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index 203526542013..d240de097c62 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c | |||
@@ -38,7 +38,7 @@ static int debug = 1; | |||
38 | #define dbg(lvl, format, arg...) \ | 38 | #define dbg(lvl, format, arg...) \ |
39 | do { \ | 39 | do { \ |
40 | if (debug >= lvl) \ | 40 | if (debug >= lvl) \ |
41 | printk(KERN_DEBUG __FILE__ " : " format " \n", ## arg); \ | 41 | printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg); \ |
42 | } while (0) | 42 | } while (0) |
43 | 43 | ||
44 | 44 | ||
@@ -56,7 +56,7 @@ MODULE_PARM_DESC(debug, "Debug enabled or not"); | |||
56 | #define ADU_PRODUCT_ID 0x0064 | 56 | #define ADU_PRODUCT_ID 0x0064 |
57 | 57 | ||
58 | /* table of devices that work with this driver */ | 58 | /* table of devices that work with this driver */ |
59 | static struct usb_device_id device_table [] = { | 59 | static const struct usb_device_id device_table[] = { |
60 | { USB_DEVICE(ADU_VENDOR_ID, ADU_PRODUCT_ID) }, /* ADU100 */ | 60 | { USB_DEVICE(ADU_VENDOR_ID, ADU_PRODUCT_ID) }, /* ADU100 */ |
61 | { USB_DEVICE(ADU_VENDOR_ID, ADU_PRODUCT_ID+20) }, /* ADU120 */ | 61 | { USB_DEVICE(ADU_VENDOR_ID, ADU_PRODUCT_ID+20) }, /* ADU120 */ |
62 | { USB_DEVICE(ADU_VENDOR_ID, ADU_PRODUCT_ID+30) }, /* ADU130 */ | 62 | { USB_DEVICE(ADU_VENDOR_ID, ADU_PRODUCT_ID+30) }, /* ADU130 */ |
@@ -132,8 +132,8 @@ static void adu_debug_data(int level, const char *function, int size, | |||
132 | if (debug < level) | 132 | if (debug < level) |
133 | return; | 133 | return; |
134 | 134 | ||
135 | printk(KERN_DEBUG __FILE__": %s - length = %d, data = ", | 135 | printk(KERN_DEBUG "%s: %s - length = %d, data = ", |
136 | function, size); | 136 | __FILE__, function, size); |
137 | for (i = 0; i < size; ++i) | 137 | for (i = 0; i < size; ++i) |
138 | printk("%.2x ", data[i]); | 138 | printk("%.2x ", data[i]); |
139 | printk("\n"); | 139 | printk("\n"); |