omap_hsmmc: add init_card pass-through callback
[pandora-kernel.git] / arch / arm / plat-omap / include / plat / mmc.h
index a1bac07..9b89ec6 100644 (file)
@@ -102,6 +102,10 @@ struct omap_mmc_platform_data {
                /* Regulator off remapped to sleep */
                unsigned vcc_aux_disable_is_sleep:1;
 
+               /* we can put the features above into this variable */
+#define HSMMC_HAS_PBIAS                (1 << 0)
+               unsigned features;
+
                int switch_pin;                 /* gpio (card detect) */
                int gpio_wp;                    /* gpio (write protect) */
 
@@ -118,6 +122,8 @@ struct omap_mmc_platform_data {
                /* Call back after enabling / disabling regulators */
                void (*after_set_reg)(struct device *dev, int slot,
                                      int power_on, int vdd);
+               /* if we have special card, init it using this callback */
+               void (*init_card)(struct mmc_card *card);
 
                /* return MMC cover switch state, can be NULL if not supported.
                 *