[PATCH] USB: Correct ohci-pxa27x suspend/resume struct confusion
authorRichard Purdie <rpurdie@rpsys.net>
Mon, 28 Nov 2005 22:15:46 +0000 (22:15 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:40 +0000 (13:51 -0800)
commita5e36d20897ff8317e722fceb4d9eea3e4a5906b
treece2d7906a3980c0d31cf848d7f227409d4713092
parent4c4c9432a6c916729c7296c47fe93b053a73e20c
[PATCH] USB: Correct ohci-pxa27x suspend/resume struct confusion

The device data in ohci-pxa27x is a struct hcd, not a struct ohci_hcd.
This correct the suspend/resume calls to account for this and adds some
code to invalidate the platform data when the module is removed.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-pxa27x.c