Re: [PATCH] net: of/phy: fix build error when phylib is built as a module
From: David Miller <davem@davemloft.net>
Date: 2012-05-11 22:08:47
Also in:
linux-next, lkml, netdev
From: David Miller <davem@davemloft.net>
Date: 2012-05-11 22:08:47
Also in:
linux-next, lkml, netdev
From: David Daney <redacted> Date: Fri, 11 May 2012 10:58:06 -0700
On 05/11/2012 08:47 AM, Bj=F8rn Mork wrote:quoted
CONFIG_OF_MDIO is tristate and will be m if PHYLIB is m. Use IS_ENABLED macro to prevent build error: ERROR: "of_mdio_find_bus" [drivers/net/phy/mdio-mux.ko] undefined!=
quoted
Reported-by: Randy Dunlap<redacted> Cc: David Daney<redacted> Signed-off-by: Bj=F8rn Mork<bjorn@mork.no>=
I was able to reproduce the failure, and this patch both fixes it and=
seems correct, so... =
Acked-by: David Daney<redacted>
Applied.