From: Chris Ball Date: Mon, 11 Jun 2012 13:39:12 +0000 (-0400) Subject: mmc: core: Export regulator_* functions as GPL X-Git-Tag: upstream/snapshot3+hdmi~7025^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45a6b32e24003d9749d8c6d1c83dfb64d6994ca7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mmc: core: Export regulator_* functions as GPL The regulator API functions we're wrapping are exported as GPL, so our wrappers for the same functions should be too. Reported-by: Guennadi Liakhovetski Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index a7e2c4b..28b1ffa 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -950,7 +950,7 @@ int mmc_regulator_get_ocrmask(struct regulator *supply) return result; } -EXPORT_SYMBOL(mmc_regulator_get_ocrmask); +EXPORT_SYMBOL_GPL(mmc_regulator_get_ocrmask); /** * mmc_regulator_set_ocr - set regulator to match host->ios voltage @@ -1020,7 +1020,7 @@ int mmc_regulator_set_ocr(struct mmc_host *mmc, "could not set regulator OCR (%d)\n", result); return result; } -EXPORT_SYMBOL(mmc_regulator_set_ocr); +EXPORT_SYMBOL_GPL(mmc_regulator_set_ocr); #endif /* CONFIG_REGULATOR */