diff options
| author | Vladimir Oltean <[email protected]> | 2023-02-24 15:52:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-02-26 18:31:37 +0000 |
| commit | ef1a99c65edb504c509a5c4aa865830867df6e7b (patch) | |
| tree | 7d200cb18ef585bfe9bcffa72d7e7bdb05c96040 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | net: dsa: felix: fix internal MDIO controller resource length (diff) | |
| download | kernel-ef1a99c65edb504c509a5c4aa865830867df6e7b.tar.gz kernel-ef1a99c65edb504c509a5c4aa865830867df6e7b.zip | |
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
