From: William Breathitt Gray Date: Sun, 1 May 2016 15:46:17 +0000 (-0400) Subject: pnp: pnpbios: Add explicit X86_32 dependency to PNPBIOS X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0619f39474b991244d0a2cbd323915c0e6167b5a;p=linux-beck.git pnp: pnpbios: Add explicit X86_32 dependency to PNPBIOS The PNPBIOS driver requires preprocessor defines (located in include/asm/segment.h) only declared if the architecture is set to X86_32. If the architecture is set to X86_64, the PNPBIOS driver will not build properly. The X86 dependecy for the PNPBIOS configuration option is changed to an explicit X86_32 dependency in order to prevent an attempt to build for an unsupported architecture. Acked-by: Rafael J. Wysocki Signed-off-by: William Breathitt Gray Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pnp/pnpbios/Kconfig b/drivers/pnp/pnpbios/Kconfig index 50c3dd065e03..a786086b2ec7 100644 --- a/drivers/pnp/pnpbios/Kconfig +++ b/drivers/pnp/pnpbios/Kconfig @@ -3,7 +3,7 @@ # config PNPBIOS bool "Plug and Play BIOS support" - depends on ISA && X86 + depends on ISA && X86_32 default n ---help--- Linux uses the PNPBIOS as defined in "Plug and Play BIOS