svn commit: r215498 - stable/8/sys/dev/usb/input
Andrew Thompson
thompsa at FreeBSD.org
Fri Nov 19 01:47:09 UTC 2010
Author: thompsa
Date: Fri Nov 19 01:47:09 2010
New Revision: 215498
URL: http://svn.freebsd.org/changeset/base/215498
Log:
MFC r212132
Fix UMS_BUTTON_MAX define name
Modified:
stable/8/sys/dev/usb/input/ums.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/usb/input/ums.c
==============================================================================
--- stable/8/sys/dev/usb/input/ums.c Fri Nov 19 01:46:33 2010 (r215497)
+++ stable/8/sys/dev/usb/input/ums.c Fri Nov 19 01:47:09 2010 (r215498)
@@ -487,7 +487,7 @@ ums_hid_parse(struct ums_softc *sc, devi
/* 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])) {
More information about the svn-src-stable
mailing list