summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-tegra.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@nvidia.com>2013-09-09 17:29:45 +0100
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-16 17:42:16 -0700
commit3847bf2446d4e73154ea5805043be35639f8391a (patch)
tree8cbbddbb9d63f3cfc22cc87f684c3842055b6e9e /drivers/usb/host/xhci-tegra.c
parenta22e9ee8257a1b9c1820af52be406ba0d158a2af (diff)
xhci-tegra fix warnings on unused function
remove unused function warning for save_ctle_context() the function IS used for T12x but not T11x /nvidia/DEV_KERNEL/kernel/drivers/usb/host/xhci-tegra.c:1768:13: warning: 'save_ctle_context' defined but not used [-Wunused-function] Change-Id: I22aa17fcb4afca9db1356f3017b86d09c28c1814 Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/272034 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/usb/host/xhci-tegra.c')
-rw-r--r--drivers/usb/host/xhci-tegra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index 41a19bb38aad..6d81712f5576 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -416,6 +416,8 @@ struct tegra_xhci_hcd {
static struct tegra_usb_pmc_data pmc_data[XUSB_UTMI_COUNT];
static struct tegra_usb_pmc_data pmc_hsic_data[XUSB_HSIC_COUNT];
+static void save_ctle_context(struct tegra_xhci_hcd *tegra,
+ u8 port) __attribute__ ((unused));
/* functions */
static inline struct tegra_xhci_hcd *hcd_to_tegra_xhci(struct usb_hcd *hcd)