summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c
diff options
context:
space:
mode:
authorArnd Bergmann2018-05-28 17:50:20 +0200
committerDavid S. Miller2018-05-30 19:21:23 +0200
commit37c9102f216c2ecd4296de1027fbfc4fa7d73877 (patch)
treea2398695b0cbdb6dccbf80701cc741fc04e11dc1 /drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c
parentnet: ethernet: freescale: fix false-positive string overflow warning (diff)
downloadkernel-qcow2-linux-37c9102f216c2ecd4296de1027fbfc4fa7d73877.tar.gz
kernel-qcow2-linux-37c9102f216c2ecd4296de1027fbfc4fa7d73877.tar.xz
kernel-qcow2-linux-37c9102f216c2ecd4296de1027fbfc4fa7d73877.zip
net: davinci: fix building davinci mdio code without CONFIG_OF
Test-building this driver on targets without CONFIG_OF revealed a build failure: drivers/net/ethernet/ti/davinci_mdio.c: In function 'davinci_mdio_probe': drivers/net/ethernet/ti/davinci_mdio.c:380:9: error: implicit declaration of function 'davinci_mdio_probe_dt'; did you mean 'davinci_mdio_probe'? [-Werror=implicit-function-declaration] This adjusts the #ifdef logic in the driver to make it build in all configurations. Fixes: 2652113ff043 ("net: ethernet: ti: Allow most drivers with COMPILE_TEST") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c')
0 files changed, 0 insertions, 0 deletions