[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200108.160644.387751419406283854.davem@davemloft.net>
Date: Wed, 08 Jan 2020 16:06:44 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: vladimir.oltean@....com, claudiu.manoil@....com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: dsa: felix: fix link error
From: Arnd Bergmann <arnd@...db.de>
Date: Wed, 8 Jan 2020 13:48:38 +0100
> When the enetc driver is disabled, the mdio support fails to
> get built:
>
> drivers/net/dsa/ocelot/felix_vsc9959.o: In function `vsc9959_mdio_bus_alloc':
> felix_vsc9959.c:(.text+0x19c): undefined reference to `enetc_hw_alloc'
> felix_vsc9959.c:(.text+0x1d1): undefined reference to `enetc_mdio_read'
> felix_vsc9959.c:(.text+0x1d8): undefined reference to `enetc_mdio_write'
>
> Change the Makefile to enter the subdirectory for this as well.
>
> Fixes: bdeced75b13f ("net: dsa: felix: Add PCS operations for PHYLINK")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists