git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: use ABS_CNT rather than (ABS_MAX + 1)
[safe/jmp/linux-2.6]
/
drivers
/
hid
/
hid-debug.c
diff --git
a/drivers/hid/hid-debug.c
b/drivers/hid/hid-debug.c
index
56f314f
..
c940267
100644
(file)
--- a/
drivers/hid/hid-debug.c
+++ b/
drivers/hid/hid-debug.c
@@
-811,7
+811,7
@@
static const char *relatives[REL_MAX + 1] = {
[REL_WHEEL] = "Wheel", [REL_MISC] = "Misc",
};
-static const char *absolutes[ABS_
MAX + 1
] = {
+static const char *absolutes[ABS_
CNT
] = {
[ABS_X] = "X", [ABS_Y] = "Y",
[ABS_Z] = "Z", [ABS_RX] = "Rx",
[ABS_RY] = "Ry", [ABS_RZ] = "Rz",