summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umodem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/umodem.c')
-rw-r--r--sys/dev/usb/umodem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index 07cf6d4..4153187 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -174,6 +174,7 @@ umodem_attach(device_t self)
usb_device_set_desc(self, devinfo);
printf("%s%d", device_get_name(self), device_get_unit(self));
#endif
+ sc->sc_dev = self;
printf(": %s, iclass %d/%d\n", devinfo, id->bInterfaceClass, id->bInterfaceSubClass);
OpenPOWER on IntegriCloud