Skip to content

Commit

Permalink
mmc: core: Export regulator_* functions as GPL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Ball committed Jul 11, 2012
1 parent ecf8b5d commit 45a6b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 */

Expand Down

0 comments on commit 45a6b32

Please sign in to comment.