Index: linux-2.6/arch/arm/mach-s3c2410/mach-h1940.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-s3c2410/mach-h1940.c	2006-11-23 23:04:59.000000000 +0100
+++ linux-2.6/arch/arm/mach-s3c2410/mach-h1940.c	2006-11-23 23:08:55.000000000 +0100
@@ -43,6 +43,7 @@
 #include <asm/arch/udc.h>
 #include <asm/arch/ts.h>
 #include <asm/arch/lcd.h>
+#include <asm/arch/mmc.h>
 #include <asm/arch/buttons.h>
 
 #include <linux/serial_core.h>
@@ -142,6 +143,10 @@ static struct s3c2410_ts_mach_info h1940
 		.oversampling_shift = 2,
 };
 
+static struct s3c24xx_mmc_platdata h1940_mmc_cfg = {
+	.gpio_detect    = S3C2410_GPF5,
+};
+
 /**
  * Set lcd on or off
  **/
@@ -273,6 +278,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,
@@ -307,6 +313,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. */
 

