diff options
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2011-02-18 07:00:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-25 14:34:35 -0500 |
commit | 18f53461e786f21e5625124b507802a797337f6f (patch) | |
tree | 43939023aeed6ca3cae9e6ea0f9dac944d349fd6 /drivers/usb/host/ehci-msm.c | |
parent | 541cace8cd619808424ffaf1c8f7a006e5d55742 (diff) |
USB: EHCI: Fix compiler warnings with MSM driver
This patch fixes the following compile warnings
drivers/usb/host/ehci-dbg.c:45: warning: 'dbg_hcs_params' defined but not used
drivers/usb/host/ehci-dbg.c:89: warning: 'dbg_hcc_params' defined but not used
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-msm.c')
-rw-r--r-- | drivers/usb/host/ehci-msm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index a80001420e3e..9ce1b0bc186d 100644 --- a/drivers/usb/host/ehci-msm.c +++ b/drivers/usb/host/ehci-msm.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* ehci-msm.c - HSUSB Host Controller Driver Implementation | 1 | /* ehci-msm.c - HSUSB Host Controller Driver Implementation |
2 | * | 2 | * |
3 | * Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved. | 3 | * Copyright (c) 2008-2011, Code Aurora Forum. All rights reserved. |
4 | * | 4 | * |
5 | * Partly derived from ehci-fsl.c and ehci-hcd.c | 5 | * Partly derived from ehci-fsl.c and ehci-hcd.c |
6 | * Copyright (c) 2000-2004 by David Brownell | 6 | * Copyright (c) 2000-2004 by David Brownell |
@@ -42,6 +42,8 @@ static int ehci_msm_reset(struct usb_hcd *hcd) | |||
42 | ehci->caps = USB_CAPLENGTH; | 42 | ehci->caps = USB_CAPLENGTH; |
43 | ehci->regs = USB_CAPLENGTH + | 43 | ehci->regs = USB_CAPLENGTH + |
44 | HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase)); | 44 | HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase)); |
45 | dbg_hcs_params(ehci, "reset"); | ||
46 | dbg_hcc_params(ehci, "reset"); | ||
45 | 47 | ||
46 | /* cache the data to minimize the chip reads*/ | 48 | /* cache the data to minimize the chip reads*/ |
47 | ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); | 49 | ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); |