net: mscc: Fix non-GPL export of regmap APIs
authorMark Brown <broonie@kernel.org>
Tue, 10 Aug 2021 12:37:48 +0000 (13:37 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Aug 2021 21:47:30 +0000 (14:47 -0700)
commitbc8968e420dcff8d240fe1d49fd0b2214be98ca5
tree23d6285d74e5c56fa3ac073b1cca76d3a973bad6
parent88be3263490514854a1445ae95560585601ff160
net: mscc: Fix non-GPL export of regmap APIs

The ocelot driver makes use of regmap, wrapping it with driver specific
operations that are thin wrappers around the core regmap APIs. These are
exported with EXPORT_SYMBOL, dropping the _GPL from the core regmap
exports which is frowned upon. Add _GPL suffixes to at least the APIs that
are doing register I/O.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210810123748.47871-1-broonie@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mscc/ocelot_io.c