]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
OHCI: remove uses of hcd->state
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 17 Nov 2011 21:41:56 +0000 (16:41 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 18:51:00 +0000 (10:51 -0800)
commitb7463c71fbbff7111d0c879d2f64fe2b08f51848
tree4d5b69827f602a5c590cf75d5702260fc379d6f6
parentc6249ff7521c0211e9daa37f07a4c016a5c4d454
OHCI: remove uses of hcd->state

This patch (as1500) removes all uses of the objectionable hcd->state
variable from the ohci-hcd family of drivers.  It is replaced by a
private ohci->rh_state field, just as in uhci-hcd and ehci-hcd.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 files changed:
drivers/usb/host/ohci-au1xxx.c
drivers/usb/host/ohci-dbg.c
drivers/usb/host/ohci-ep93xx.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-hub.c
drivers/usb/host/ohci-omap.c
drivers/usb/host/ohci-pci.c
drivers/usb/host/ohci-pxa27x.c
drivers/usb/host/ohci-q.c
drivers/usb/host/ohci-sh.c
drivers/usb/host/ohci-sm501.c
drivers/usb/host/ohci-spear.c
drivers/usb/host/ohci-tmio.c
drivers/usb/host/ohci.h