Re: [PATCH v3] net: dsa: fix warning same module names

2019-06-14 Thread David Miller
From: Anders Roxell Date: Thu, 13 Jun 2019 13:35:03 +0200 > 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 > > R

[PATCH v3] net: dsa: fix warning same module names

2019-06-13 Thread Anders Roxell
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: Li