---
 arch/arm/mach-s3c2410/mach-h1940.c |    8 	8 +	0 -	0 !
 1 file changed, 8 insertions(+)

Index: linux-2.6/arch/arm/mach-s3c2410/mach-h1940.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-s3c2410/mach-h1940.c	2007-01-20 15:34:57.000000000 +0100
+++ linux-2.6/arch/arm/mach-s3c2410/mach-h1940.c	2007-01-20 15:35:35.000000000 +0100
@@ -48,6 +48,7 @@
 #include <asm/arch/lcd.h>
 #include <asm/arch/nand.h>
 #include <asm/arch/buttons.h>
+#include <asm/arch/mmc.h>
 
 #include <linux/serial_core.h>
 
@@ -186,6 +187,10 @@ static struct s3c2410_platform_nand h194
 	.sets           = h1940_nand_sets,
 };
 
+static struct s3c24xx_mmc_platdata h1940_mmc_cfg = {
+	.gpio_detect    = S3C2410_GPF5,
+};
+
 /**
  * Set lcd on or off
  **/
@@ -355,6 +360,7 @@ static struct platform_device *h1940_dev
 	&s3c_device_wdt,
 	&s3c_device_i2c,
 	&s3c_device_iis,
+	&s3c_device_sdi,
 	&s3c_device_usbgadget,
 	&s3c_device_ts,
 	&s3c_device_buttons,
@@ -399,6 +405,8 @@ static void __init h1940_init(void)
  	s3c24xx_udc_set_platdata(&h1940_udc_cfg);
 	s3c24xx_butt_set_platdata(&h1940_butt_cfg);
 
+	s3c24xx_sdi_set_platdata(&h1940_mmc_cfg);
+
 	/* Turn off suspend on both USB ports, and switch the
 	 * selectable USB port to USB device mode. */
 
