linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6/8] drivers: net: phy: fix warning same module names
@ 2019-06-06  9:47 Anders Roxell
  0 siblings, 0 replies; only message in thread
From: Anders Roxell @ 2019-06-06  9:47 UTC (permalink / raw)
  To: andrew, f.fainelli, hkallweit1, davem
  Cc: vivien.didelot, marex, stefan, airlied, daniel, shawnguo,
	s.hauer, b.zolnierkie, a.hajda, mchehab, p.zabel, lee.jones,
	lgirdwood, broonie, netdev, linux-kernel, dri-devel,
	linux-arm-kernel, linux-fbdev, linux-media, Anders Roxell

When building with CONFIG_ASIX_PHY and CONFIG_USB_NET_AX8817X enabled as
loadable modules, we see the following warning:

warning: same module names found:
  drivers/net/phy/asix.ko
  drivers/net/usb/asix.ko

Rework so media coda matches the config fragment. Leaving
CONFIG_USB_NET_AX8817X as is since thats a well known module.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 drivers/net/phy/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
index 947c974bc69e..bab179b75a2a 100644
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -52,7 +52,8 @@ ifdef CONFIG_HWMON
 aquantia-objs			+= aquantia_hwmon.o
 endif
 obj-$(CONFIG_AQUANTIA_PHY)	+= aquantia.o
-obj-$(CONFIG_ASIX_PHY)		+= asix.o
+obj-$(CONFIG_ASIX_PHY)		+= asix-phy.o
+asix-phy-objs			:= asix.o
 obj-$(CONFIG_AT803X_PHY)	+= at803x.o
 obj-$(CONFIG_BCM63XX_PHY)	+= bcm63xx.o
 obj-$(CONFIG_BCM7XXX_PHY)	+= bcm7xxx.o
-- 
2.20.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-06  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06  9:47 [PATCH 6/8] drivers: net: phy: fix warning same module names Anders Roxell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).