]> 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)
commit0a66b0d192ad4bbc2994f513594b141e5da46780
tree23d6285d74e5c56fa3ac073b1cca76d3a973bad6
parenta035ec8d167442132623222e0d41fe67e66a1f8a
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