[ARM] SMDK6410: Add availability of second hsmmc channel
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-s3c6410 / mach-smdk6410.c
index e845b2a1becf26751d19084730ae2b73d097fee7..b900244a91d30946e003db043dff1c00c0a6de6a 100644 (file)
@@ -64,12 +64,16 @@ static struct s3c2410_uartcfg smdk6410_uartcfgs[] __initdata = {
 struct map_desc smdk6410_iodesc[] = {};
 
 static struct platform_device *smdk6410_devices[] __initdata = {
+#ifdef CONFIG_SMDK6410_SD_CH0
        &s3c_device_hsmmc0,
+#endif
+#ifdef CONFIG_SMDK6410_SD_CH1
+       &s3c_device_hsmmc1,
+#endif
        &s3c_device_i2c0,
        &s3c_device_i2c1,
 };
 
-
 static struct i2c_board_info i2c_devs0[] __initdata = {
        { I2C_BOARD_INFO("24c08", 0x50), },
        { I2C_BOARD_INFO("WM8580", 0X1b), },