]> 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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Aug 2021 08:44:31 +0000 (09:44 +0100)
commit8efb3b1461ffa753f3034188b0099656cde7b96f
treebca0a309435584cd78d9e0bb818ee374400995ff
parent7e2097f720fc7cca15fc68514093a3ed77a64357
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_io.c