diff options
-rw-r--r-- | drivers/usb/core/hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/core/hcd.h | 2 | ||||
-rw-r--r-- | include/linux/usb.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 42a436478b78..07f7bedf4dca 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c | |||
@@ -1764,7 +1764,7 @@ EXPORT_SYMBOL_GPL (usb_hc_died); | |||
1764 | * If memory is unavailable, returns NULL. | 1764 | * If memory is unavailable, returns NULL. |
1765 | */ | 1765 | */ |
1766 | struct usb_hcd *usb_create_hcd (const struct hc_driver *driver, | 1766 | struct usb_hcd *usb_create_hcd (const struct hc_driver *driver, |
1767 | struct device *dev, char *bus_name) | 1767 | struct device *dev, const char *bus_name) |
1768 | { | 1768 | { |
1769 | struct usb_hcd *hcd; | 1769 | struct usb_hcd *hcd; |
1770 | 1770 | ||
diff --git a/drivers/usb/core/hcd.h b/drivers/usb/core/hcd.h index b9de1569b39e..50b8bb2d1212 100644 --- a/drivers/usb/core/hcd.h +++ b/drivers/usb/core/hcd.h | |||
@@ -235,7 +235,7 @@ extern void usb_hcd_disable_endpoint(struct usb_device *udev, | |||
235 | extern int usb_hcd_get_frame_number(struct usb_device *udev); | 235 | extern int usb_hcd_get_frame_number(struct usb_device *udev); |
236 | 236 | ||
237 | extern struct usb_hcd *usb_create_hcd(const struct hc_driver *driver, | 237 | extern struct usb_hcd *usb_create_hcd(const struct hc_driver *driver, |
238 | struct device *dev, char *bus_name); | 238 | struct device *dev, const char *bus_name); |
239 | extern struct usb_hcd *usb_get_hcd(struct usb_hcd *hcd); | 239 | extern struct usb_hcd *usb_get_hcd(struct usb_hcd *hcd); |
240 | extern void usb_put_hcd(struct usb_hcd *hcd); | 240 | extern void usb_put_hcd(struct usb_hcd *hcd); |
241 | extern int usb_add_hcd(struct usb_hcd *hcd, | 241 | extern int usb_add_hcd(struct usb_hcd *hcd, |
diff --git a/include/linux/usb.h b/include/linux/usb.h index c08689ea9b4b..cee7fbb2b605 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -293,7 +293,7 @@ struct usb_devmap { | |||
293 | struct usb_bus { | 293 | struct usb_bus { |
294 | struct device *controller; /* host/master side hardware */ | 294 | struct device *controller; /* host/master side hardware */ |
295 | int busnum; /* Bus number (in order of reg) */ | 295 | int busnum; /* Bus number (in order of reg) */ |
296 | char *bus_name; /* stable id (PCI slot_name etc) */ | 296 | const char *bus_name; /* stable id (PCI slot_name etc) */ |
297 | u8 uses_dma; /* Does the host controller use DMA? */ | 297 | u8 uses_dma; /* Does the host controller use DMA? */ |
298 | u8 otg_port; /* 0, or number of OTG/HNP port */ | 298 | u8 otg_port; /* 0, or number of OTG/HNP port */ |
299 | unsigned is_b_host:1; /* true during some HNP roleswitches */ | 299 | unsigned is_b_host:1; /* true during some HNP roleswitches */ |