summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-12-20 21:40:21 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-01-04 11:37:42 -0700
commit1a0703ede4493bd74f9c6b53f782b749e175a88e (patch)
treeee86f6148f53af7ddcc329a28f45d7679642780d /drivers/gpio/Makefile
parente198a8de14d4bb122b821432fadb28eedd4b4507 (diff)
GPIO: add bindings for managed devices
This patch adds 2 functions that allow managed devices to request GPIOs. These GPIOs will then be managed by drivers/base/devres.c. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/Makefile')
-rw-r--r--drivers/gpio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 4e018d6a763..76dbd3f55ef 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -2,7 +2,7 @@
ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
-obj-$(CONFIG_GPIOLIB) += gpiolib.o
+obj-$(CONFIG_GPIOLIB) += gpiolib.o devres.o
# Device drivers. Generally keep list sorted alphabetically
obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o