Commit 14addfb6 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

net: mscc: ocelot: rename MSCC_OCELOT_SWITCH_OCELOT to MSCC_OCELOT_SWITCH

Putting 'ocelot' in the config's name twice just to say that 'it's the
ocelot driver running on the ocelot SoC' is a bit confusing. Instead,
it's just the ocelot driver. Now that we've renamed the previous symbol
that was holding the MSCC_OCELOT_SWITCH_OCELOT into *_LIB (because
that's what it is), we're free to use this name for the driver.
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f4d0323b
...@@ -18,8 +18,8 @@ config MSCC_OCELOT_SWITCH_LIB ...@@ -18,8 +18,8 @@ config MSCC_OCELOT_SWITCH_LIB
This is a hardware support library for Ocelot network switches. It is This is a hardware support library for Ocelot network switches. It is
used by switchdev as well as by DSA drivers. used by switchdev as well as by DSA drivers.
config MSCC_OCELOT_SWITCH_OCELOT config MSCC_OCELOT_SWITCH
tristate "Ocelot switch driver on Ocelot" tristate "Ocelot switch driver"
depends on NET_SWITCHDEV depends on NET_SWITCHDEV
depends on GENERIC_PHY depends on GENERIC_PHY
depends on REGMAP_MMIO depends on REGMAP_MMIO
...@@ -29,6 +29,6 @@ config MSCC_OCELOT_SWITCH_OCELOT ...@@ -29,6 +29,6 @@ config MSCC_OCELOT_SWITCH_OCELOT
select MSCC_OCELOT_SWITCH_LIB select MSCC_OCELOT_SWITCH_LIB
help help
This driver supports the Ocelot network switch device as present on This driver supports the Ocelot network switch device as present on
the Ocelot SoCs. the Ocelot SoCs (VSC7514).
endif # NET_VENDOR_MICROSEMI endif # NET_VENDOR_MICROSEMI
...@@ -9,5 +9,5 @@ mscc_ocelot_switch_lib-y := \ ...@@ -9,5 +9,5 @@ mscc_ocelot_switch_lib-y := \
ocelot_ace.o \ ocelot_ace.o \
ocelot_flower.o \ ocelot_flower.o \
ocelot_ptp.o ocelot_ptp.o
obj-$(CONFIG_MSCC_OCELOT_SWITCH_OCELOT) += mscc_ocelot.o obj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
mscc_ocelot-y := ocelot_vsc7514.o mscc_ocelot-y := ocelot_vsc7514.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment