]> asedeno.scripts.mit.edu Git - linux.git/commit
pnp: pnpbios: Add explicit X86_32 dependency to PNPBIOS
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Sun, 1 May 2016 15:46:17 +0000 (11:46 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 May 2016 14:48:20 +0000 (07:48 -0700)
commit0619f39474b991244d0a2cbd323915c0e6167b5a
tree3191fc6f49a157d4862cca6666497b8e4fa9bb68
parent8ac0fba2da41620f4931a1007c71b0d4723eb02a
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 <rafael.j.wysocki@intel.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pnp/pnpbios/Kconfig