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:
Valentina Manea 2014-03-10 10:36:40 +02:00 committed by Greg Kroah-Hartman
parent 04f7bb9d36
commit 9b6f0c4b98
6 changed files with 70 additions and 70 deletions

View file

@ -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);