Home
last modified time | relevance | path

Searched hist:ef1a99c65edb504c509a5c4aa865830867df6e7b (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mfd/
H A Docelot-core.cdiff ef1a99c65edb504c509a5c4aa865830867df6e7b Fri Feb 24 16:52:35 CET 2023 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: fix duplicate driver name error

When compiling a kernel which has both CONFIG_NET_DSA_MSCC_OCELOT_EXT
and CONFIG_MSCC_OCELOT_SWITCH enabled, the following error message will
be printed:

[ 5.266588] Error: Driver 'ocelot-switch' is already registered, aborting...

Rename the ocelot_ext.c driver to "ocelot-ext-switch" to avoid the name
duplication, and update the mfd_cell entry for its resources.

Fixes: 3d7316ac81ac ("net: dsa: ocelot: add external ocelot switch control")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/drivers/net/dsa/ocelot/
H A Docelot_ext.cdiff ef1a99c65edb504c509a5c4aa865830867df6e7b Fri Feb 24 16:52:35 CET 2023 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: fix duplicate driver name error

When compiling a kernel which has both CONFIG_NET_DSA_MSCC_OCELOT_EXT
and CONFIG_MSCC_OCELOT_SWITCH enabled, the following error message will
be printed:

[ 5.266588] Error: Driver 'ocelot-switch' is already registered, aborting...

Rename the ocelot_ext.c driver to "ocelot-ext-switch" to avoid the name
duplication, and update the mfd_cell entry for its resources.

Fixes: 3d7316ac81ac ("net: dsa: ocelot: add external ocelot switch control")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>