diff options
Diffstat (limited to 'sys/dev/usb/moscom.c')
-rw-r--r-- | sys/dev/usb/moscom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/moscom.c b/sys/dev/usb/moscom.c index 54180c22738..0dce335ceb5 100644 --- a/sys/dev/usb/moscom.c +++ b/sys/dev/usb/moscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: moscom.c,v 1.5 2007/06/06 19:25:49 mk Exp $ */ +/* $OpenBSD: moscom.c,v 1.6 2007/06/10 10:53:48 mbalmer Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -252,7 +252,7 @@ moscom_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_dev)); + &sc->sc_dev); sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); } @@ -270,7 +270,7 @@ moscom_detach(struct device *self, int flags) } usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, - USBDEV(sc->sc_dev)); + &sc->sc_dev); return (rv); } |