]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/plat-samsung/dev-hsmmc2.c
ARM: SAMSUNG: Add new s3c-sdhci card detection methods for Samsung SoCs
[net-next-2.6.git] / arch / arm / plat-samsung / dev-hsmmc2.c
index 824580bc0e06d4761c7a13d3994159eb4a76e754..b28ef173444d282676e86370737d41da5d073e7c 100644 (file)
@@ -61,6 +61,11 @@ void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd)
        struct s3c_sdhci_platdata *set = &s3c_hsmmc2_def_platdata;
 
        set->max_width = pd->max_width;
+       set->cd_type = pd->cd_type;
+       set->ext_cd_init = pd->ext_cd_init;
+       set->ext_cd_cleanup = pd->ext_cd_cleanup;
+       set->ext_cd_gpio = pd->ext_cd_gpio;
+       set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert;
 
        if (pd->cfg_gpio)
                set->cfg_gpio = pd->cfg_gpio;