对照这个结构体 将那些进行修改,注意 by acanoe 的语句为修改重点。
static struct platform_device *smdk6410_devices[] __initdata = { //#ifdef CONFIG_SMDK6410_SD_CH0 //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe &s3c_device_hsmmc0, //#endif //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe //#ifdef CONFIG_SMDK6410_SD_CH1 //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe &s3c_device_hsmmc1, //#endif //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe &s3c_device_i2c0, // &s3c_device_i2c1, //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe &s3c_device_fb, &s3c_device_ohci, &s3c_device_usb_hsotg, // &s3c64xx_device_iisv4, //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe // &samsung_device_keypad, //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe // add by acanoe 2 &s3c_device_nand, #ifdef CONFIG_DM9000 &s3c_device_dm9000, #endif // add by acanoe 2 #ifdef CONFIG_REGULATOR &smdk6410_b_pwr_5v, #endif &smdk6410_lcd_powerdev, // &smdk6410_smsc911x, // <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe &s3c_device_adc, // &s3c_device_cfcon, // <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe &s3c_device_rtc, // &s3c_device_ts, // <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe // &s3c_device_wdt, };