[PATCH] x86/Kconfig: compile 32bit drivers for COMPILE_TEST

From: Hannes Reinecke
Date: Mon Aug 28 2017 - 05:49:32 EST


When COMPILE_TEST is set we should be compiling 32-bit only
drivers and features (like ISA support etc), too.
After all, it's a compile test.

Signed-off-by: Hannes Reinecke <hare@xxxxxxxx>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 781521b7cf9e..df61bc37b1a2 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2548,7 +2548,7 @@ config ISA_DMA_API
Enables ISA-style DMA support for devices requiring such controllers.
If unsure, say Y.

-if X86_32
+if X86_32 || COMPILE_TEST

config ISA
bool "ISA support"
--
2.12.3