diff options
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 8ccdfcf2942c..6e03272b0521 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <asm/mach-types.h> | 19 | #include <asm/mach-types.h> |
20 | #include <asm/mach/map.h> | 20 | #include <asm/mach/map.h> |
21 | 21 | ||
22 | #include <mach/control.h> | ||
22 | #include <mach/tc.h> | 23 | #include <mach/tc.h> |
23 | #include <mach/board.h> | 24 | #include <mach/board.h> |
24 | #include <mach/mux.h> | 25 | #include <mach/mux.h> |
@@ -311,7 +312,7 @@ static inline void omap2_mmc_mux(struct omap_mmc_platform_data *mmc_controller, | |||
311 | omap_cfg_reg(F20_24XX_MMC_DAT0); | 312 | omap_cfg_reg(F20_24XX_MMC_DAT0); |
312 | omap_cfg_reg(F19_24XX_MMC_DAT_DIR0); | 313 | omap_cfg_reg(F19_24XX_MMC_DAT_DIR0); |
313 | omap_cfg_reg(G18_24XX_MMC_CMD_DIR); | 314 | omap_cfg_reg(G18_24XX_MMC_CMD_DIR); |
314 | if (mmc_controller->slots[0].wire4) { | 315 | if (mmc_controller->slots[0].wires == 4) { |
315 | omap_cfg_reg(H14_24XX_MMC_DAT1); | 316 | omap_cfg_reg(H14_24XX_MMC_DAT1); |
316 | omap_cfg_reg(E19_24XX_MMC_DAT2); | 317 | omap_cfg_reg(E19_24XX_MMC_DAT2); |
317 | omap_cfg_reg(D19_24XX_MMC_DAT3); | 318 | omap_cfg_reg(D19_24XX_MMC_DAT3); |