aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2016-12-17 00:45:05 +0000
committerDavid S. Miller <[email protected]>2016-12-18 02:47:26 +0000
commit3e3397e7b11ce1b9526975ddfbe8dd569fc1f316 (patch)
tree745aa6f2817a6fcee2f10ca0f0b0390439d1535b /net/lapb/lapb_iface.c
parentisdn: Constify some function parameters (diff)
downloadkernel-3e3397e7b11ce1b9526975ddfbe8dd569fc1f316.tar.gz
kernel-3e3397e7b11ce1b9526975ddfbe8dd569fc1f316.zip
net: mv643xx_eth: fix build failure
The build of sparc allmodconfig fails with the error: "of_irq_to_resource" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined! of_irq_to_resource() is defined when CONFIG_OF_IRQ is defined. And also CONFIG_OF_IRQ can only be defined if CONFIG_IRQ is defined. So we can safely use #if defined(CONFIG_OF_IRQ) in the code. Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions