summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Makefile
diff options
context:
space:
mode:
authorGrant Likely2012-04-07 22:31:33 +0200
committerGrant Likely2012-04-07 22:35:28 +0200
commitf141ed65f256ec036c7fba604da6b7c448096ef9 (patch)
treeb94001a7818a860aabfdd35b2867313fb07e114e /drivers/gpio/Makefile
parentgpio: Convert drivers to use module_pci_driver() (diff)
downloadkernel-qcow2-linux-f141ed65f256ec036c7fba604da6b7c448096ef9.tar.gz
kernel-qcow2-linux-f141ed65f256ec036c7fba604da6b7c448096ef9.tar.xz
kernel-qcow2-linux-f141ed65f256ec036c7fba604da6b7c448096ef9.zip
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/Makefile')
-rw-r--r--drivers/gpio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 007f54bd0081..1c2f6c0a835e 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -3,6 +3,7 @@
ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
obj-$(CONFIG_GPIOLIB) += gpiolib.o devres.o
+obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
# Device drivers. Generally keep list sorted alphabetically
obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o