X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fmmc%2Fcore%2Fcore.c;h=edfd7913d6f4b9cd8e85831ed9abfb688afdf881;hp=f7284b905eb38c083882eaec993885aff5598b2c;hb=a0a25e6fd8c1f53602d73f818e327cbb29e2ba86;hpb=2f27532760a4d2b984ed4263afc558dd1f3185dc diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index f7284b905eb3..edfd7913d6f4 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -816,6 +816,22 @@ EXPORT_SYMBOL(mmc_resume_host); #endif +#ifdef CONFIG_MMC_EMBEDDED_SDIO +void mmc_set_embedded_sdio_data(struct mmc_host *host, + struct sdio_cis *cis, + struct sdio_cccr *cccr, + struct sdio_embedded_func *funcs, + int num_funcs) +{ + host->embedded_sdio_data.cis = cis; + host->embedded_sdio_data.cccr = cccr; + host->embedded_sdio_data.funcs = funcs; + host->embedded_sdio_data.num_funcs = num_funcs; +} + +EXPORT_SYMBOL(mmc_set_embedded_sdio_data); +#endif + static int __init mmc_init(void) { int ret;