diff options
Diffstat (limited to 'drivers/hid/hid-input.c')
| -rw-r--r-- | drivers/hid/hid-input.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 4824b19b8646..25d180a24fc4 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
| @@ -31,8 +31,6 @@ | |||
| 31 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
| 32 | #include <linux/kernel.h> | 32 | #include <linux/kernel.h> |
| 33 | 33 | ||
| 34 | #undef DEBUG | ||
| 35 | |||
| 36 | #include <linux/hid.h> | 34 | #include <linux/hid.h> |
| 37 | #include <linux/hid-debug.h> | 35 | #include <linux/hid-debug.h> |
| 38 | 36 | ||
| @@ -253,7 +251,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
| 253 | 251 | ||
| 254 | field->hidinput = hidinput; | 252 | field->hidinput = hidinput; |
| 255 | 253 | ||
| 256 | #ifdef DEBUG | 254 | #ifdef CONFIG_HID_DEBUG |
| 257 | printk(KERN_DEBUG "Mapping: "); | 255 | printk(KERN_DEBUG "Mapping: "); |
| 258 | hid_resolv_usage(usage->hid); | 256 | hid_resolv_usage(usage->hid); |
| 259 | printk(" ---> "); | 257 | printk(" ---> "); |
| @@ -690,7 +688,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
| 690 | return; | 688 | return; |
| 691 | 689 | ||
| 692 | ignore: | 690 | ignore: |
| 693 | #ifdef DEBUG | 691 | #ifdef CONFIG_HID_DEBUG |
| 694 | printk("IGNORED\n"); | 692 | printk("IGNORED\n"); |
| 695 | #endif | 693 | #endif |
| 696 | return; | 694 | return; |
