summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uoakv.c
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2013-04-15 09:23:03 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2013-04-15 09:23:03 +0000
commit5cef08fefab2a1e12eeb54bbb0608448920630e8 (patch)
tree54b4b49685c176f00e369f015a0e43fd73199777 /sys/dev/usb/uoakv.c
parentef6d59f94200628194940cb20aa4986edec4b629 (diff)
Get rid of various 'typedef struct' definitions and use plain structure
definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@
Diffstat (limited to 'sys/dev/usb/uoakv.c')
-rw-r--r--sys/dev/usb/uoakv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uoakv.c b/sys/dev/usb/uoakv.c
index 567174a78d0..4f9996a64e9 100644
--- a/sys/dev/usb/uoakv.c
+++ b/sys/dev/usb/uoakv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uoakv.c,v 1.3 2013/03/28 03:58:03 tedu Exp $ */
+/* $OpenBSD: uoakv.c,v 1.4 2013/04/15 09:23:02 mglocker Exp $ */
/*
* Copyright (c) 2012 Yojiro UO <yuo@nui.org>
@@ -131,7 +131,7 @@ uoakv_attach(struct device *parent, struct device *self, void *aux)
struct uoakv_softc *sc = (struct uoakv_softc *)self;
struct usb_attach_arg *uaa = aux;
struct uhidev_attach_arg *uha = (struct uhidev_attach_arg *)uaa;
- usbd_device_handle dev = uha->parent->sc_udev;
+ struct usbd_device *dev = uha->parent->sc_udev;
struct uoak_softc *scc = &sc->sc_uoak_softc;
int i, err, size, repid;