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>
This commit is contained in:
parent
ecf8b5d0a3
commit
45a6b32e24
1 changed files with 2 additions and 2 deletions
|
@ -950,7 +950,7 @@ int mmc_regulator_get_ocrmask(struct regulator *supply)
|
||||||
|
|
||||||
return result;
|
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
|
* 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);
|
"could not set regulator OCR (%d)\n", result);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(mmc_regulator_set_ocr);
|
EXPORT_SYMBOL_GPL(mmc_regulator_set_ocr);
|
||||||
|
|
||||||
#endif /* CONFIG_REGULATOR */
|
#endif /* CONFIG_REGULATOR */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue