diff options
author | Anand Gadiyar <gadiyar@ti.com> | 2010-07-08 07:04:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 17:35:39 -0400 |
commit | 3f1a9696aed6814601078f3c430a8e432b625c66 (patch) | |
tree | 3c282dd21282f1c8d4e476074160a2e9d5c1ed4e /drivers/usb/musb | |
parent | 5aa4af2ce6a0643f32d47f21614817792b85298d (diff) |
USB: musb: Kill board specific pinmux from driver file
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 <gadiyar@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/omap2430.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index e06d65e36bf7..2111a241dd03 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
@@ -32,8 +32,6 @@ | |||
32 | #include <linux/clk.h> | 32 | #include <linux/clk.h> |
33 | #include <linux/io.h> | 33 | #include <linux/io.h> |
34 | 34 | ||
35 | #include <plat/mux.h> | ||
36 | |||
37 | #include "musb_core.h" | 35 | #include "musb_core.h" |
38 | #include "omap2430.h" | 36 | #include "omap2430.h" |
39 | 37 | ||
@@ -194,10 +192,6 @@ int __init musb_platform_init(struct musb *musb, void *board_data) | |||
194 | u32 l; | 192 | u32 l; |
195 | struct omap_musb_board_data *data = board_data; | 193 | struct omap_musb_board_data *data = board_data; |
196 | 194 | ||
197 | #if defined(CONFIG_ARCH_OMAP2430) | ||
198 | omap_cfg_reg(AE5_2430_USB0HS_STP); | ||
199 | #endif | ||
200 | |||
201 | /* We require some kind of external transceiver, hooked | 195 | /* We require some kind of external transceiver, hooked |
202 | * up through ULPI. TWL4030-family PMICs include one, | 196 | * up through ULPI. TWL4030-family PMICs include one, |
203 | * which needs a driver, drivers aren't always needed. | 197 | * which needs a driver, drivers aren't always needed. |