summaryrefslogtreecommitdiff
path: root/drivers/md/dm-uevent.h
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-10-12 15:43:24 +0300
committerRob Herring <robh@kernel.org>2015-10-13 21:34:34 +0300
commit62ebf931935964230d6fe39026bc5fbcfac330d3 (patch)
tree65e14d3f406d5af6bd1e25862da09df09eeb187a /drivers/md/dm-uevent.h
parent52493d446141b07c8ba28dd6a529513f8b2342bd (diff)
downloadlinux-62ebf931935964230d6fe39026bc5fbcfac330d3.tar.xz
of/irq: fix guards for irq_of_parse_and_map prototype
Since OF is now a userselectable config symbol, having OF=y but OF_IRQ=n is a valid combination for non-OF platforms, and OF=y does not guarantee anymore that OF_IRQ is enabled (or we are building for SPARC). Fixes the following build error with OF=y, IRQ_DOMAIN=n and SPI=y: drivers/built-in.o: In function `spi_register_master': (.text+0xc3ae): undefined reference to `irq_of_parse_and_map' Makefile:935: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1 Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/md/dm-uevent.h')
0 files changed, 0 insertions, 0 deletions