]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpu: ipu-v3: Select GENERIC_IRQ_CHIP to fix build error
authorAxel Lin <axel.lin@ingics.com>
Sun, 3 Aug 2014 02:36:59 +0000 (10:36 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 2 Sep 2014 08:42:59 +0000 (10:42 +0200)
This driver uses GENERIC_IRQ_CHIP, so it needs to select GENERIC_IRQ_CHIP to
avoid build error.

Fixes below build errors:
ERROR: "irq_alloc_domain_generic_chips" [drivers/gpu/ipu-v3/imx-ipu-v3.ko] undefined!
ERROR: "irq_gc_mask_clr_bit" [drivers/gpu/ipu-v3/imx-ipu-v3.ko] undefined!
ERROR: "irq_gc_mask_set_bit" [drivers/gpu/ipu-v3/imx-ipu-v3.ko] undefined!
ERROR: "irq_generic_chip_ops" [drivers/gpu/ipu-v3/imx-ipu-v3.ko] undefined!
ERROR: "irq_gc_ack_set_bit" [drivers/gpu/ipu-v3/imx-ipu-v3.ko] undefined!
ERROR: "irq_get_domain_generic_chip" [drivers/gpu/ipu-v3/imx-ipu-v3.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/Kconfig

index 2f228a2f2a4849fc8afaf87ff7feade756d222ce..01864a55264ac6242f86e5f60c94677503ad8376 100644 (file)
@@ -2,6 +2,7 @@ config IMX_IPUV3_CORE
        tristate "IPUv3 core support"
        depends on SOC_IMX5 || SOC_IMX6Q || SOC_IMX6SL || ARCH_MULTIPLATFORM
        depends on RESET_CONTROLLER
+       select GENERIC_IRQ_CHIP
        help
          Choose this if you have a i.MX5/6 system and want to use the Image
          Processing Unit. This option only enables IPU base support.