diff -Naur a/arch/arm/mach-s3c2440/mach-g500.c b/arch/arm/mach-s3c2440/mach-g500.c
--- a/arch/arm/mach-s3c2440/mach-g500.c	2007-05-16 22:22:20.000000000 +0200
+++ b/arch/arm/mach-s3c2440/mach-g500.c	2007-06-27 11:26:57.000000000 +0200
@@ -23,6 +23,8 @@
 #include <linux/input.h>
 #include <linux/gpio_keys.h>
 
+#include <linux/mmc/host.h>
+
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <asm/mach/irq.h>
@@ -42,7 +44,7 @@
 #include <asm/arch/idle.h>
 #include <asm/arch/nand.h>
 #include <asm/arch/fb.h>
-#include <asm/arch/mmc.h>
+#include <asm/arch/mci.h>
 #include <asm/arch/ts.h>
 #include <asm/arch/lcd.h>
 #include <asm/arch/leds-gpio.h>
@@ -183,13 +185,21 @@
 	.sets		= g500_nand_sets,
 };
 
-static void s3c2410_mmc_def_setpower(unsigned int to)
+static void s3c2410_mmc_def_setpower(unsigned char power_mode, unsigned short vdd)
 {
 	s3c2410_gpio_cfgpin(S3C2410_GPA17, S3C2410_GPIO_OUTPUT);
-	s3c2410_gpio_setpin(S3C2410_GPA17, to);
+
+	switch (power_mode) {
+	case MMC_POWER_OFF:
+		s3c2410_gpio_setpin(S3C2410_GPA17, 0);
+		break;
+	case MMC_POWER_ON:
+		s3c2410_gpio_setpin(S3C2410_GPA17, 1);
+		break;
+	}
 }
 
-static struct s3c24xx_mmc_platdata g500_mmc_cfg = {
+static struct s3c24xx_mci_pdata g500_mmc_cfg = {
 	.gpio_detect  = S3C2410_GPF6,
 	.set_power  = s3c2410_mmc_def_setpower,
 	.ocr_avail  = MMC_VDD_32_33,

