]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/plat-samsung/dev-hsmmc2.c
s5pc110: SDHCI-s3c can override host capabilities
[net-next-2.6.git] / arch / arm / plat-samsung / dev-hsmmc2.c
index 824580bc0e06d4761c7a13d3994159eb4a76e754..cb0d7143381a1fe06cfbc75181339548d1309c82 100644 (file)
@@ -61,9 +61,16 @@ 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;
        if (pd->cfg_card)
                set->cfg_card = pd->cfg_card;
+       if (pd->host_caps)
+               set->host_caps = pd->host_caps;
 }