diff options
| author | David Brownell <david-b@pacbell.net> | 2004-02-08 20:16:07 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-02-08 20:16:07 -0800 |
| commit | bc7e061c860f4bb766c3b013c4c554cb01d87290 (patch) | |
| tree | 0716c80ae2fedfaaff76c2785fcc574d37efde6b /include/linux | |
| parent | fb0dfb43795b85662a0a342691539e7e4273dce6 (diff) | |
[PATCH] USB: re-factor enumeration/reset paths
This patch starts dis-entangling some of the enumeration logic by
moving initialization code into the usb_alloc_dev() constructor.
Some call signatures changed; a usbcore-internal declaration was
moved in <linux/usb.h> to a more appropriate location.
With the driver model init now more centralized, it's safer to
use driver model calls (including dev_info) a lot earlier, so
the "new device at address N" message now does that. It also
reports the device speed, which may not be evident otherwise.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index c16b0125baa0..45caca344ca3 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -274,7 +274,6 @@ struct usb_device { }; #define to_usb_device(d) container_of(d, struct usb_device, dev) -extern struct usb_device *usb_alloc_dev(struct usb_device *parent, struct usb_bus *); extern struct usb_device *usb_get_dev(struct usb_device *dev); extern void usb_put_dev(struct usb_device *dev); |
