]> Git Repo - linux.git/commit
[PATCH] add CONFIG_GENERIC_GPIO
authorDavid Brownell <[email protected]>
Mon, 5 Mar 2007 08:30:18 +0000 (00:30 -0800)
committerLinus Torvalds <[email protected]>
Mon, 5 Mar 2007 15:57:51 +0000 (07:57 -0800)
commit0a938b9768d1fc0e12a884a6820a2e15df5a612c
tree472b3b06ab1171f22b2e507cd12cf9ad53fdf9e9
parent1ad7c311079412541bebaf1c8436d405cc8c6b2c
[PATCH] add CONFIG_GENERIC_GPIO

Most drivers using GPIOs already know they are running on a system that
supports the generic GPIO calls, because of other platform dependencies.
But the generic GPIO-based LED and input button drivers can't know that.

So this patch adds a Kconfig hook, GENERIC_GPIO, to mark the platforms
where <asm/gpio.h> will do the right thing.  Currently that's a bunch of
ARMs, and AVR32; more are on the way.

It also fixes a dependency bug for the gpio button input driver; it was
wrong to start with, now it covers all platforms with GENERIC_GPIO.

Signed-off-by: David Brownell <[email protected]>
Acked-by: Richard Purdie <[email protected]>
Cc: Arnaud Patard <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: pHilipp Zabel <[email protected]>
Cc: Haavard Skinnemoen <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm/Kconfig
arch/avr32/Kconfig
drivers/input/keyboard/Kconfig
This page took 0.054623 seconds and 4 git commands to generate.