aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-01-15 17:53:05 -0500
committerJiri Kosina <jkosina@suse.cz>2007-01-21 16:17:55 -0500
commite54dea69bac12dae2ff27c1c7a472d4eee70638d (patch)
tree0edd39c99508892a5ed8b977c01799380a0b1884 /drivers/hid
parentd4ae650a904612ffb7edd3f28b69b022988d2466 (diff)
HID: compilation fix when DEBUG_DATA is defined
hid/hid-core.c references 'len' variable when DEBUG_DATA is defined, but the actual name of the variable is 'size'. Fix it. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 38db8321b211..b8cf50fcd64d 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -951,7 +951,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int i
951 } 951 }
952 952
953#ifdef DEBUG_DATA 953#ifdef DEBUG_DATA
954 printk(KERN_DEBUG __FILE__ ": report (size %u) (%snumbered)\n", len, report_enum->numbered ? "" : "un"); 954 printk(KERN_DEBUG __FILE__ ": report (size %u) (%snumbered)\n", size, report_enum->numbered ? "" : "un");
955#endif 955#endif
956 956
957 n = 0; /* Normally report number is 0 */ 957 n = 0; /* Normally report number is 0 */