diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-02 15:46:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:15:46 -0400 |
commit | 1b26da1510c02a2dac33c0ea48904256dcec4617 (patch) | |
tree | 374c8aa6f6283199e51ad83eff6dd239fd543060 /include/linux/usb.h | |
parent | c5e46007e9737b77a79ec79ed95262c0ce996d6a (diff) |
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 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |