Skip to content

Commit

Permalink
gpio/it8761e: Restrict it8761e gpio driver to x86.
Browse files Browse the repository at this point in the history
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: Grant Likely <grant.likely@secretlab.ca>
Cc: Denis Turischev <denis@compulab.co.il>
  • Loading branch information
Grant Likely committed Jan 18, 2012
1 parent dd9328a commit 265fe02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ config GPIO_GENERIC_PLATFORM

config GPIO_IT8761E
tristate "IT8761E GPIO support"
depends on X86 # unconditional access to IO space.
help
Say yes here to support GPIO functionality of IT8761E super I/O chip.

Expand Down

0 comments on commit 265fe02

Please sign in to comment.