diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-05-11 07:47:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 00:03:03 +0200 |
commit | b943fbb09036bf7ff8e780af511a21576fe60a1e (patch) | |
tree | 4e7a6468b55b16a3baa471fc644802b9a1b112eb /drivers/net/usb/rndis_host.c | |
parent | Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge (diff) | |
download | linux-b943fbb09036bf7ff8e780af511a21576fe60a1e.tar.xz linux-b943fbb09036bf7ff8e780af511a21576fe60a1e.zip |
net: of/phy: fix build error when phylib is built as a module
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!
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: David Daney <david.daney@cavium.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/rndis_host.c')
0 files changed, 0 insertions, 0 deletions