diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-04-07 14:31:33 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-04-07 14:35:28 -0600 |
commit | f141ed65f256ec036c7fba604da6b7c448096ef9 (patch) | |
tree | b94001a7818a860aabfdd35b2867313fb07e114e /drivers/gpio/Kconfig | |
parent | 93baa65fe50a83056c97973de2300337b000472e (diff) |
gpio: Move DT support code into drivers/gpio
The code in drivers/of/gpio.c isn't shared by any other subsystem since it
is all gpiolib specific. drivers/gpio is a better place to maintain these
functions.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index e6862f13408..1042c3f534f 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -37,6 +37,10 @@ menuconfig GPIOLIB if GPIOLIB +config OF_GPIO + def_bool y + depends on OF && !SPARC + config DEBUG_GPIO bool "Debug GPIO calls" depends on DEBUG_KERNEL |