sh: intc: Enable driver compilation with COMPILE_TEST
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 27 Nov 2013 01:18:37 +0000 (02:18 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 18 Feb 2014 00:22:21 +0000 (09:22 +0900)
This helps increasing build testing coverage.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/sh/intc/Kconfig

index a305731742a9343958064f81b5635855e130d35a..f7d90617c9d9ca3fb4340d887e221b6bf55e3d11 100644 (file)
@@ -6,7 +6,7 @@ comment "Interrupt controller options"
 
 config INTC_USERIMASK
        bool "Userspace interrupt masking support"
-       depends on ARCH_SHMOBILE || (SUPERH && CPU_SH4A)
+       depends on ARCH_SHMOBILE || (SUPERH && CPU_SH4A) || COMPILE_TEST
        help
          This enables support for hardware-assisted userspace hardirq
          masking.