diff options
author | imp <imp@FreeBSD.org> | 2006-09-07 00:06:42 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-09-07 00:06:42 +0000 |
commit | 28b388f478a97f7ac5d608085d2de2299b5f4940 (patch) | |
tree | 6be1b34cd1d3af5d631e1a8c39ca0dd5d0165f89 /sys/dev/usb/ufm.c | |
parent | fb77a38eda0f5fdd90d8c7321017465e50859e84 (diff) | |
download | FreeBSD-src-28b388f478a97f7ac5d608085d2de2299b5f4940.zip FreeBSD-src-28b388f478a97f7ac5d608085d2de2299b5f4940.tar.gz |
More removing compatibility macros.
md5 still the same.
"Dave, stop. I feel my mind slipping away." -- hal
Diffstat (limited to 'sys/dev/usb/ufm.c')
-rw-r--r-- | sys/dev/usb/ufm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index 469eb64..013fecd 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -106,7 +106,7 @@ static struct cdevsw ufm_cdevsw = { #define FM_CMD2 0x02 struct ufm_softc { - USBBASEDEVICE sc_dev; + device_t sc_dev; usbd_device_handle sc_udev; usbd_interface_handle sc_iface; @@ -217,7 +217,7 @@ USB_ATTACH(ufm) USB_ATTACH_SUCCESS_RETURN; nobulk: - printf("%s: could not find %s\n", USBDEVNAME(sc->sc_dev),ermsg); + printf("%s: could not find %s\n", device_get_nameunit(sc->sc_dev),ermsg); USB_ATTACH_ERROR_RETURN; } @@ -465,7 +465,7 @@ USB_DETACH(ufm) static int ufm_detach(device_t self) { - DPRINTF(("%s: disconnected\n", USBDEVNAME(self))); + DPRINTF(("%s: disconnected\n", device_get_nameunit(self))); return 0; } |