]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mmc: core: Export regulator_* functions as GPL
authorChris Ball <cjb@laptop.org>
Mon, 11 Jun 2012 13:39:12 +0000 (09:39 -0400)
committerChris Ball <cjb@laptop.org>
Wed, 11 Jul 2012 03:04:06 +0000 (23:04 -0400)
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>
drivers/mmc/core/core.c

index a7e2c4b2f18c71d52199f2c00d8489ef9d65727f..28b1ffaf0bd192adb22b178d6e942cc5aa1ac48c 100644 (file)
@@ -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 */