aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2010-09-02 03:52:04 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2010-09-02 03:52:04 +0000
commit1f27b68522d9617384b033876120b57456990b57 (patch)
tree129e840909f5ade8f34dba645ac7ee2187b17324 /sys/dev/usb
parent13226c4c029c3f5195d169397bece11a4a66021b (diff)
downloadsrc-1f27b68522d9617384b033876120b57456990b57.tar.gz
src-1f27b68522d9617384b033876120b57456990b57.zip
Fix UMS_BUTTON_MAX define name
Notes
Notes: svn path=/head/; revision=212132
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/input/ums.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/input/ums.c b/sys/dev/usb/input/ums.c
index 1a5acc7924bd..c0cab203434b 100644
--- a/sys/dev/usb/input/ums.c
+++ b/sys/dev/usb/input/ums.c
@@ -480,7 +480,7 @@ ums_hid_parse(struct ums_softc *sc, device_t dev, const uint8_t *buf,
/* detect other buttons */
- for (j = 0; (i < UMS_BUTTONS_MAX) && (j < 2); i++, j++) {
+ for (j = 0; (i < UMS_BUTTON_MAX) && (j < 2); i++, j++) {
if (!hid_locate(buf, len, HID_USAGE2(HUP_MICROSOFT, (j + 1)),
hid_input, index, &info->sc_loc_btn[i], NULL,
&info->sc_iid_btn[i])) {