aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/rtl8366.c
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2019-06-13 13:35:03 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-14 19:28:54 -0700
commitf0c03ee0ec664e07e0ec1ead7091cbe53f0f321c (patch)
tree1a71faf2c98e643ea3e6d6c30ac8011ca7ca42cd /drivers/net/dsa/rtl8366.c
parentsctp: Free cookie before we memdup a new one (diff)
downloadlinux-dev-f0c03ee0ec664e07e0ec1ead7091cbe53f0f321c.tar.xz
linux-dev-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/rtl8366.c')
-rw-r--r--drivers/net/dsa/rtl8366.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/rtl8366.c b/drivers/net/dsa/rtl8366.c
index 6dedd43442cc..fe5d976b0b10 100644
--- a/drivers/net/dsa/rtl8366.c
+++ b/drivers/net/dsa/rtl8366.c
@@ -11,7 +11,7 @@
#include <linux/if_bridge.h>
#include <net/dsa.h>
-#include "realtek-smi.h"
+#include "realtek-smi-core.h"
int rtl8366_mc_is_used(struct realtek_smi *smi, int mc_index, int *used)
{