diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-12-17 01:45:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-18 03:47:26 +0100 |
commit | 3e3397e7b11ce1b9526975ddfbe8dd569fc1f316 (patch) | |
tree | 745aa6f2817a6fcee2f10ca0f0b0390439d1535b /tools/perf/util/jitdump.c | |
parent | isdn: Constify some function parameters (diff) | |
download | linux-3e3397e7b11ce1b9526975ddfbe8dd569fc1f316.tar.xz linux-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 <sudip.mukherjee@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/jitdump.c')
0 files changed, 0 insertions, 0 deletions