aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hcd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-07-02 12:46:22 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 15:15:46 -0700
commit1b26da1510c02a2dac33c0ea48904256dcec4617 (patch)
tree374c8aa6f6283199e51ad83eff6dd239fd543060 /drivers/usb/core/hcd.c
parentc5e46007e9737b77a79ec79ed95262c0ce996d6a (diff)
downloadkernel_samsung_smdk4412-1b26da1510c02a2dac33c0ea48904256dcec4617.zip
kernel_samsung_smdk4412-1b26da1510c02a2dac33c0ea48904256dcec4617.tar.gz
kernel_samsung_smdk4412-1b26da1510c02a2dac33c0ea48904256dcec4617.tar.bz2
USB: handle pci_name() being const
This changes usb_create_hcd() to be able to handle the fact that pci_name() has changed to a constant string. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/hcd.c')
-rw-r--r--drivers/usb/core/hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 42a4364..07f7bed 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1764,7 +1764,7 @@ EXPORT_SYMBOL_GPL (usb_hc_died);
* If memory is unavailable, returns NULL.
*/
struct usb_hcd *usb_create_hcd (const struct hc_driver *driver,
- struct device *dev, char *bus_name)
+ struct device *dev, const char *bus_name)
{
struct usb_hcd *hcd;