]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/plat-samsung/dev-hsmmc3.c
ARM: SAMSUNG: Add new s3c-sdhci card detection methods for Samsung SoCs
[net-next-2.6.git] / arch / arm / plat-samsung / dev-hsmmc3.c
index 57bd394123cd4bb2760aeeab04de72f12d79a02a..85aaf0f2842f8ac1e214a3ecdd8d6102b9fffc26 100644 (file)
@@ -64,6 +64,11 @@ void s3c_sdhci3_set_platdata(struct s3c_sdhci_platdata *pd)
        struct s3c_sdhci_platdata *set = &s3c_hsmmc3_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;