diff options
author | Chris Ball <cjb@laptop.org> | 2012-06-11 09:39:12 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-07-10 23:04:06 -0400 |
commit | 45a6b32e24003d9749d8c6d1c83dfb64d6994ca7 (patch) | |
tree | d30beb93f6ee79f1bef94aa55538831ef327045a /drivers/mmc/core/core.c | |
parent | ecf8b5d0a378a0f922ffca27bd0a9101f246fa11 (diff) |
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 <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r-- | drivers/mmc/core/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index a7e2c4b2f18c..28b1ffaf0bd1 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) | |||
950 | 950 | ||
951 | return result; | 951 | return result; |
952 | } | 952 | } |
953 | EXPORT_SYMBOL(mmc_regulator_get_ocrmask); | 953 | EXPORT_SYMBOL_GPL(mmc_regulator_get_ocrmask); |
954 | 954 | ||
955 | /** | 955 | /** |
956 | * mmc_regulator_set_ocr - set regulator to match host->ios voltage | 956 | * mmc_regulator_set_ocr - set regulator to match host->ios voltage |
@@ -1020,7 +1020,7 @@ int mmc_regulator_set_ocr(struct mmc_host *mmc, | |||
1020 | "could not set regulator OCR (%d)\n", result); | 1020 | "could not set regulator OCR (%d)\n", result); |
1021 | return result; | 1021 | return result; |
1022 | } | 1022 | } |
1023 | EXPORT_SYMBOL(mmc_regulator_set_ocr); | 1023 | EXPORT_SYMBOL_GPL(mmc_regulator_set_ocr); |
1024 | 1024 | ||
1025 | #endif /* CONFIG_REGULATOR */ | 1025 | #endif /* CONFIG_REGULATOR */ |
1026 | 1026 | ||