Commit 265fe02b authored by Grant Likely's avatar Grant Likely
Browse files

gpio/it8761e: Restrict it8761e gpio driver to x86.

This driver does an unconditional read of io space during module init which
causes a bad dereference on ARM.  It looks to me like this is an x86 only
drivers, so restrict it to only compile on x86.
Signed-off-by: default avatarGrant Likely <>
Cc: Denis Turischev <>
parent dd9328a6
......@@ -87,6 +87,7 @@ config GPIO_GENERIC_PLATFORM
config GPIO_IT8761E
tristate "IT8761E GPIO support"
depends on X86 # unconditional access to IO space.
Say yes here to support GPIO functionality of IT8761E super I/O chip.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment