Browse Source

sh: intc: Enable driver compilation with COMPILE_TEST

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>
Laurent Pinchart 12 years ago
parent
commit
4f3068f605
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/sh/intc/Kconfig

+ 1 - 1
drivers/sh/intc/Kconfig

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