]> Git Repo - linux.git/commitdiff
USB: musb: Kill board specific pinmux from driver file
authorAnand Gadiyar <[email protected]>
Thu, 8 Jul 2010 11:04:54 +0000 (16:34 +0530)
committerGreg Kroah-Hartman <[email protected]>
Tue, 10 Aug 2010 21:35:39 +0000 (14:35 -0700)
This pin-muxing is best done in the board files. The driver should
not do this explicitly.

Also, this code causes a warning to be thrown when OMAP2430 and OMAP3/4
support are enabled in the same kernel.

Signed-off-by: Anand Gadiyar <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Ajay Kumar Gupta <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/musb/omap2430.c

index e06d65e36bf742eacef80056ee430890c8220bcb..2111a241dd037d0b1c6bbb654068a12851dd875a 100644 (file)
@@ -32,8 +32,6 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 
-#include <plat/mux.h>
-
 #include "musb_core.h"
 #include "omap2430.h"
 
@@ -194,10 +192,6 @@ int __init musb_platform_init(struct musb *musb, void *board_data)
        u32 l;
        struct omap_musb_board_data *data = board_data;
 
-#if defined(CONFIG_ARCH_OMAP2430)
-       omap_cfg_reg(AE5_2430_USB0HS_STP);
-#endif
-
        /* We require some kind of external transceiver, hooked
         * up through ULPI.  TWL4030-family PMICs include one,
         * which needs a driver, drivers aren't always needed.
This page took 0.044559 seconds and 4 git commands to generate.