diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 1999-06-27 09:42:40 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 1999-06-27 09:42:40 +0000 |
| commit | 178e4460ef63090466986e881e23f81811d3f6ef (patch) | |
| tree | f74747cba2fa9c478b21483ce4f44051ca0692a7 /sys/dev | |
| parent | c049aba8c31e2ee648d7d4e021738ea2e7656a36 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/usb_port.h | 2 | ||||
| -rw-r--r-- | sys/dev/usb/usbdi.c | 8 | ||||
| -rw-r--r-- | sys/dev/usb/usbdi.h | 1 |
3 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 4c420a08d988c..b29be6b644bd3 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -184,7 +184,7 @@ __CONCAT(dname,_attach)(device_t self) #define USB_ATTACH_SETUP \ sc->sc_dev = self; \ - usbd_device_set_desc(self, devinfo) + device_set_desc_copy(self, devinfo); #define USB_GET_SC_OPEN(dname, unit, sc) \ struct __CONCAT(dname,_softc) *sc = \ diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index c827f2f8fa5bc..b148d894fa0da 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -1304,14 +1304,6 @@ usbd_driver_load(module_t mod, int what, void *arg) return 0; /* nothing to do */ #endif } - -/* Set the description of the device including a malloc and copy. */ -void -usbd_device_set_desc(device_t device, char *devinfo) -{ - device_set_desc_copy(device, devinfo); -} - #endif char * diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h index bcf36d5ba9c20..b8f63f88e9026 100644 --- a/sys/dev/usb/usbdi.h +++ b/sys/dev/usb/usbdi.h @@ -320,7 +320,6 @@ usb_endpoint_descriptor_t *usbd_get_endpoint_descriptor #if defined(__FreeBSD__) int usbd_driver_load __P((module_t mod, int what, void *arg)); -void usbd_device_set_desc __P((device_t device, char *devinfo)); bus_print_child_t usbd_print_child; #endif |
