summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ucycom.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 10:53:50 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 10:53:50 +0000
commitee0f444043f62b1989c63b9419c2e908f6c4793f (patch)
tree7d1c958fdcad64480efcbfb6f0ea69602208ab47 /sys/dev/usb/ucycom.c
parentba9346211f99b37c96aa619b9981b230c7b4a61d (diff)
Remove the definition and use of the USBDEV macro. It only created confusion
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
Diffstat (limited to 'sys/dev/usb/ucycom.c')
-rw-r--r--sys/dev/usb/ucycom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ucycom.c b/sys/dev/usb/ucycom.c
index 064fc6142af..780ab86f542 100644
--- a/sys/dev/usb/ucycom.c
+++ b/sys/dev/usb/ucycom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucycom.c,v 1.7 2007/06/05 08:43:55 mbalmer Exp $ */
+/* $OpenBSD: ucycom.c,v 1.8 2007/06/10 10:53:48 mbalmer Exp $ */
/* $NetBSD: ucycom.c,v 1.3 2005/08/05 07:27:47 skrll Exp $ */
/*
@@ -232,7 +232,7 @@ ucycom_attach(struct device *parent, struct device *self, void *aux)
uca.info = NULL;
usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev,
- USBDEV(sc->sc_hdev.sc_dev));
+ &sc->sc_hdev.sc_dev);
sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch);
DPRINTF(("ucycom_attach: complete %p\n", sc->sc_subdev));