From: Tony Lindgren Date: Tue, 15 Nov 2005 20:03:04 +0000 (-0800) Subject: ARM: OMAP: Compile fixes for ohci-omap X-Git-Tag: v2.6.15-omap2~92 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=f88274031112b5899986d6ae73ee2d4593404eab;p=linux-2.6-omap-h63xx.git ARM: OMAP: Compile fixes for ohci-omap OMAP: Compile fixes for ohci-omap --- diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index a142e4c372e..ae97252eeac 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c @@ -472,7 +472,7 @@ static int ohci_omap_suspend(struct platform_device *dev, pm_message_t message) omap_ohci_clock_power(0); ohci_to_hcd(ohci)->state = HC_STATE_SUSPENDED; - dev->power.power_state = PMSG_SUSPEND; + dev->dev.power.power_state = PMSG_SUSPEND; return 0; } @@ -485,8 +485,8 @@ static int ohci_omap_resume(struct platform_device *dev) ohci->next_statechange = jiffies; omap_ohci_clock_power(1); - dev->power.power_state = PMSG_ON; - usb_hcd_resume_root_hub(dev_get_drvdata(dev)); + dev->dev.power.power_state = PMSG_ON; + usb_hcd_resume_root_hub(platform_get_drvdata(dev)); return 0; }