Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/dev Fix build



details:   https://anonhg.NetBSD.org/src/rev/db189c6bed22
branches:  trunk
changeset: 344941:db189c6bed22
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Apr 28 14:00:23 2016 +0000

description:
Fix build

diffstat:

 sys/arch/macppc/dev/pbms.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 57b705302f94 -r db189c6bed22 sys/arch/macppc/dev/pbms.c
--- a/sys/arch/macppc/dev/pbms.c        Thu Apr 28 12:27:45 2016 +0000
+++ b/sys/arch/macppc/dev/pbms.c        Thu Apr 28 14:00:23 2016 +0000
@@ -1,4 +1,4 @@
-/* $Id: pbms.c,v 1.13 2012/10/27 17:18:00 chs Exp $ */
+/* $Id: pbms.c,v 1.14 2016/04/28 14:00:23 skrll Exp $ */
 
 /*
  * Copyright (c) 2005, Johan Wallén
@@ -306,7 +306,7 @@
         * We just check if the vendor and product IDs have the magic numbers
         * we expect. 
         */
-       if (uha->uaa->proto == UIPROTO_MOUSE &&
+       if (uha->uiaa->uiaa_proto == UIPROTO_MOUSE &&
            (udd = usbd_get_device_descriptor(uha->parent->sc_udev)) != NULL) {
                vendor = UGETW(udd->idVendor);
                product = UGETW(udd->idProduct);



Home | Main Index | Thread Index | Old Index