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)
commit48c812e0327744b4965296f65c23fe2405692afc
treebca0a309435584cd78d9e0bb818ee374400995ff
parentb69dd5b3780a7298bd893816a09da751bc0636f7
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