USB: omap: ehci: kill 2 compile warnings
authorAnand Gadiyar <gadiyar@ti.com>
Fri, 12 Feb 2010 12:24:59 +0000 (17:54 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:55:04 +0000 (14:55 -0800)
Kill these compile warnings:
CC [M]  drivers/usb/host/ehci-hcd.o
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: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-omap.c

index 17e4ceb5014dae26b874b6e5b29506c3ade596ca..24d3d526b5d90ed5824fde2ac884f11b8780a371 100644 (file)
@@ -645,6 +645,9 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
        omap->ehci->regs = hcd->regs
                + HC_LENGTH(readl(&omap->ehci->caps->hc_capbase));
 
+       dbg_hcs_params(omap->ehci, "reset");
+       dbg_hcc_params(omap->ehci, "reset");
+
        /* cache this readonly data; minimize chip reads */
        omap->ehci->hcs_params = readl(&omap->ehci->caps->hcs_params);