diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2019-06-13 13:35:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-15 04:28:54 +0200 |
commit | f0c03ee0ec664e07e0ec1ead7091cbe53f0f321c (patch) | |
tree | 1a71faf2c98e643ea3e6d6c30ac8011ca7ca42cd /drivers/net/dsa/rtl8366rb.c | |
parent | sctp: Free cookie before we memdup a new one (diff) | |
download | linux-f0c03ee0ec664e07e0ec1ead7091cbe53f0f321c.tar.xz linux-f0c03ee0ec664e07e0ec1ead7091cbe53f0f321c.zip |
net: dsa: fix warning same module names
When building with CONFIG_NET_DSA_REALTEK_SMI and CONFIG_REALTEK_PHY
enabled as loadable modules, we see the following warning:
warning: same module names found:
drivers/net/phy/realtek.ko
drivers/net/dsa/realtek.ko
Rework so the driver name is realtek-smi instead of realtek.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/rtl8366rb.c')
-rw-r--r-- | drivers/net/dsa/rtl8366rb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/rtl8366rb.c b/drivers/net/dsa/rtl8366rb.c index 40b3974970c6..a268085ffad2 100644 --- a/drivers/net/dsa/rtl8366rb.c +++ b/drivers/net/dsa/rtl8366rb.c @@ -20,7 +20,7 @@ #include <linux/of_irq.h> #include <linux/regmap.h> -#include "realtek-smi.h" +#include "realtek-smi-core.h" #define RTL8366RB_PORT_NUM_CPU 5 #define RTL8366RB_NUM_PORTS 6 |