mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
usbcore: rename struct dev_state to struct usb_dev_state
Since it is needed outside usbcore and exposed in include/linux/usb.h, it conflicts with enum dev_state in rt2x00 wireless driver. Mark it as usb specific to avoid conflicts in the future. Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
04f7bb9d36
commit
9b6f0c4b98
6 changed files with 70 additions and 70 deletions
|
@ -2,7 +2,7 @@
|
|||
#include <linux/acpi.h>
|
||||
|
||||
struct usb_hub_descriptor;
|
||||
struct dev_state;
|
||||
struct usb_dev_state;
|
||||
|
||||
/* Functions local to drivers/usb/core/ */
|
||||
|
||||
|
@ -58,7 +58,7 @@ extern void usb_forced_unbind_intf(struct usb_interface *intf);
|
|||
extern void usb_rebind_intf(struct usb_interface *intf);
|
||||
|
||||
extern void usb_hub_release_all_ports(struct usb_device *hdev,
|
||||
struct dev_state *owner);
|
||||
struct usb_dev_state *owner);
|
||||
extern bool usb_device_is_owned(struct usb_device *udev);
|
||||
|
||||
extern int usb_hub_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue