diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-05-20 16:08:58 -0700 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-05-23 17:36:19 -0700 |
commit | f498300733f10f5cddfef5da7fc8fc28c9c9a490 (patch) | |
tree | 8fb4f13b751123b4cdf313b11fab4d1cdde9565f /drivers | |
parent | b41597031bc4e9084cc1a89a7cce044082d747a5 (diff) |
ARM: tegra: power: Fix warnings when CONFIG_PM is disabled
Change-Id: I9d4b8c218cdfe6a91424b808f70c1ec056015783
Reviewed-on: http://git-master/r/32463
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index e895a078f406..6a7045408e6d 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -299,6 +299,7 @@ done: return retval; } +#ifdef CONFIG_PM static void tegra_ehci_restart(struct usb_hcd *hcd) { struct ehci_hcd *ehci = hcd_to_ehci(hcd); @@ -465,6 +466,7 @@ restart: return 0; } +#endif static void tegra_ehci_shutdown(struct usb_hcd *hcd) { |