From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751610AbdG1AUn (ORCPT ); Thu, 27 Jul 2017 20:20:43 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:38964 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbdG1AUl (ORCPT ); Thu, 27 Jul 2017 20:20:41 -0400 Date: Thu, 27 Jul 2017 17:20:36 -0700 (PDT) Message-Id: <20170727.172036.1137430221085365204.davem@davemloft.net> To: arnd@arndb.de Cc: netdev@vger.kernel.org, kishon@ti.com, andrew@lunn.ch, f.fainelli@gmail.com, linux-kernel@vger.kernel.org, raviteja.garimella@broadcom.com, Raju.Lakkaraju@microsemi.com Subject: Re: [PATCH 1/2] net: phy: rework Kconfig settings for MDIO_BUS From: David Miller In-Reply-To: <20170726151442.3913622-1-arnd@arndb.de> References: <20170726151442.3913622-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 27 Jul 2017 17:20:40 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann 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 > Reviewed-by: Florian Fainelli Applied.