Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698382

Re: [PATCH 1/2] net: phy: rework Kconfig settings for MDIO_BUS

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] net: phy: rework Kconfig settings for MDIO_BUS
Date 2017-07-28 02:30 +0200
Message-ID <u81ke-4Lf-7@gated-at.bofh.it> (permalink)
References <u7wgq-200-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 26 Jul 2017 17:13:59 +0200

> I still see build errors in randconfig builds and have had this
> patch for a while to locally work around it:
> 
> drivers/built-in.o: In function `xgene_mdio_probe':
> mux-core.c:(.text+0x352154): undefined reference to `of_mdiobus_register'
> mux-core.c:(.text+0x352168): undefined reference to `mdiobus_free'
> mux-core.c:(.text+0x3521c0): undefined reference to `mdiobus_alloc_size'
> 
> The idea is that CONFIG_MDIO_BUS now reflects whether the mdio_bus
> code is built-in or a module, and other drivers that use the core
> code can simply depend on that, instead of having a complex
> dependency line.
> 
> Fixes: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] net: phy: rework Kconfig settings for MDIO_BUS Arnd Bergmann <arnd@arndb.de> - 2017-07-26 17:20 +0200
  [PATCH 2/2] phy: bcm-ns-usb3: fix MDIO_BUS dependency Arnd Bergmann <arnd@arndb.de> - 2017-07-26 17:20 +0200
    Re: [PATCH 2/2] phy: bcm-ns-usb3: fix MDIO_BUS dependency David Miller <davem@davemloft.net> - 2017-07-28 02:30 +0200
  Re: [PATCH 1/2] net: phy: rework Kconfig settings for MDIO_BUS David Miller <davem@davemloft.net> - 2017-07-28 02:30 +0200

csiph-web