]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ff910336dc839baae0230838709eb8ff4530f31
tree23d6285d74e5c56fa3ac073b1cca76d3a973bad6
parentdb4a0ce10359e2a9e8210fad6b5f4fcdce5f46dd
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