diff options
Diffstat (limited to 'sys/dev/usb/ufm.c')
-rw-r--r-- | sys/dev/usb/ufm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index db008ea..f8d640b 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -204,7 +204,7 @@ USB_ATTACH(ufm) sc->sc_epaddr = edesc->bEndpointAddress; #if defined(__FreeBSD__) - /* XXX no error trapping, no storing of dev_t */ + /* XXX no error trapping, no storing of struct cdev **/ (void) make_dev(&ufm_cdevsw, device_get_unit(self), UID_ROOT, GID_OPERATOR, 0644, "ufm%d", device_get_unit(self)); @@ -224,7 +224,7 @@ USB_ATTACH(ufm) int -ufmopen(dev_t dev, int flag, int mode, usb_proc_ptr td) +ufmopen(struct cdev *dev, int flag, int mode, usb_proc_ptr td) { struct ufm_softc *sc; @@ -245,7 +245,7 @@ ufmopen(dev_t dev, int flag, int mode, usb_proc_ptr td) } int -ufmclose(dev_t dev, int flag, int mode, usb_proc_ptr td) +ufmclose(struct cdev *dev, int flag, int mode, usb_proc_ptr td) { struct ufm_softc *sc; @@ -368,7 +368,7 @@ ufm_get_stat(struct ufm_softc *sc, caddr_t addr) } int -ufmioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, usb_proc_ptr td) +ufmioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, usb_proc_ptr td) { struct ufm_softc *sc; |