Skip to content

Commit

Permalink
pnp: pnpbios: Add explicit X86_32 dependency to PNPBIOS
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: William Breathitt Gray <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
vilhelmgray authored and gregkh committed May 2, 2016
1 parent 8ac0fba commit 0619f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pnp/pnpbios/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0619f39

Please sign in to comment.