From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tuomas Tynkkynen Date: Fri, 16 Mar 2018 05:16:21 +0200 Subject: [U-Boot] [PATCH] lan7xxx: Require phylib In-Reply-To: <20180315141020.11581-1-agraf@suse.de> References: <20180315141020.11581-1-agraf@suse.de> Message-ID: <20180316051621.70569c80@duuni> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Thu, 15 Mar 2018 15:10:20 +0100 Alexander Graf wrote: > The lan75xx and lan78xx drivers need to drive their phy via the generic > phylib framework. Let's reflect that dependency in Kconfig, so that we > don't get build errors when phylib does not get selected. > > Signed-off-by: Alexander Graf > --- > drivers/usb/eth/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/usb/eth/Kconfig b/drivers/usb/eth/Kconfig > index 496a6d1933..2f6bfa8e71 100644 > --- a/drivers/usb/eth/Kconfig > +++ b/drivers/usb/eth/Kconfig > @@ -23,6 +23,7 @@ config USB_ETHER_ASIX88179 > config USB_ETHER_LAN75XX > bool "Microchip LAN75XX support" > depends on USB_HOST_ETHER > + depends on PHYLIB 'select PHYLIB' seems more appropriate here (and there are already 17 drivers selecting it and none using 'depends on'.)