aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-03-17 09:20:20 +0000
committerKalle Valo <[email protected]>2016-03-23 15:52:10 +0000
commitc58d900cc96a5106e2feaed8d3d7361669a91396 (patch)
treefe07ca68d3f731d6d25f304b38bd2f912ecc0895 /net/unix/af_unix.c
parentb43: Fix memory leaks in b43_bus_dev_ssb_init and b43_bus_dev_bcma_init (diff)
downloadkernel-c58d900cc96a5106e2feaed8d3d7361669a91396.tar.gz
kernel-c58d900cc96a5106e2feaed8d3d7361669a91396.zip
bcma: fix building without OF_IRQ
The bcma driver core can be built with or without DT support, but it fails to build when CONFIG_OF=y and CONFIG_OF_IRQ=n, which can happen on platforms that do not support IRQ domains. ERROR: "irq_create_of_mapping" [drivers/bcma/bcma.ko] undefined! ERROR: "of_irq_parse_raw" [drivers/bcma/bcma.ko] undefined! ERROR: "of_irq_parse_one" [drivers/bcma/bcma.ko] undefined! This adds another compile-time check for OF_IRQ, but also gets rid of now unneeded #ifdef checks: Using the simpler IS_ENABLED() check for OF_IRQ also covers the case of not having CONFIG_OF enabled. The check for CONFIG_OF_ADDRESS was added to allow building on architectures without OF_ADDRESS, but that has been addressed already in b1d06b60e90c ("of: Provide static inline function for of_translate_address if needed"). Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions