X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fcore%2Fhcd.h;h=5b0b59b0d89b37709da23af08cf0271c193d9ebf;hb=df1efe6f871e2d3f83e6ad7b7a1d2b728b478fc2;hp=b9de1569b39e792f8de8301b5b3c8b27782100ee;hpb=666484f0250db2e016948d63b3ef33e202e3b8d0;p=linux-2.6 diff --git a/drivers/usb/core/hcd.h b/drivers/usb/core/hcd.h index b9de1569b3..5b0b59b0d8 100644 --- a/drivers/usb/core/hcd.h +++ b/drivers/usb/core/hcd.h @@ -21,6 +21,8 @@ #include +#define MAX_TOPO_LEVEL 6 + /* This file contains declarations of usbcore internals that are mostly * used or exposed by Host Controller Drivers. */ @@ -235,7 +237,7 @@ extern void usb_hcd_disable_endpoint(struct usb_device *udev, extern int usb_hcd_get_frame_number(struct usb_device *udev); extern struct usb_hcd *usb_create_hcd(const struct hc_driver *driver, - struct device *dev, char *bus_name); + struct device *dev, const char *bus_name); extern struct usb_hcd *usb_get_hcd(struct usb_hcd *hcd); extern void usb_put_hcd(struct usb_hcd *hcd); extern int usb_add_hcd(struct usb_hcd *hcd,