]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Compile fixes for ohci-omap
authorTony Lindgren <tony@atomide.com>
Tue, 15 Nov 2005 20:03:04 +0000 (12:03 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 15 Nov 2005 20:03:04 +0000 (12:03 -0800)
OMAP: Compile fixes for ohci-omap

drivers/usb/host/ohci-omap.c

index a142e4c372e661c14bd21af771fdd02558119e9f..ae97252eeac8366e2a700b6d5ab3ed41f350a136 100644 (file)
@@ -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;
 }