]> 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)
commitd89419b112e5480b99cac86281b6859845cbc9a9
treebca0a309435584cd78d9e0bb818ee374400995ff
parent7fec8c57fe9438ec71e1343111427165526256f6
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