diff options
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r-- | drivers/hid/hid-input.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 33b1126f5e5d..ae298c4bfcbd 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #undef DEBUG | 34 | #undef DEBUG |
35 | 35 | ||
36 | #include <linux/hid.h> | 36 | #include <linux/hid.h> |
37 | #include <linux/hid-debug.h> | ||
37 | 38 | ||
38 | static int hid_pb_fnmode = 1; | 39 | static int hid_pb_fnmode = 1; |
39 | module_param_named(pb_fnmode, hid_pb_fnmode, int, 0644); | 40 | module_param_named(pb_fnmode, hid_pb_fnmode, int, 0644); |
@@ -254,7 +255,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
254 | 255 | ||
255 | #ifdef DEBUG | 256 | #ifdef DEBUG |
256 | printk(KERN_DEBUG "Mapping: "); | 257 | printk(KERN_DEBUG "Mapping: "); |
257 | resolv_usage(usage->hid); | 258 | hid_resolv_usage(usage->hid); |
258 | printk(" ---> "); | 259 | printk(" ---> "); |
259 | #endif | 260 | #endif |
260 | 261 | ||
@@ -682,8 +683,8 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
682 | field->dpad = usage->code; | 683 | field->dpad = usage->code; |
683 | } | 684 | } |
684 | 685 | ||
685 | #ifdef DEBUG | 686 | hid_resolv_event(usage->type, usage->code); |
686 | resolv_event(usage->type, usage->code); | 687 | #ifdef CONFIG_HID_DEBUG |
687 | printk("\n"); | 688 | printk("\n"); |
688 | #endif | 689 | #endif |
689 | return; | 690 | return; |