diff options
author | John Crispin <blogic@openwrt.org> | 2011-12-20 21:40:21 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-01-04 11:37:42 -0700 |
commit | 1a0703ede4493bd74f9c6b53f782b749e175a88e (patch) | |
tree | ee86f6148f53af7ddcc329a28f45d7679642780d /drivers/gpio/Makefile | |
parent | e198a8de14d4bb122b821432fadb28eedd4b4507 (diff) | |
download | op-kernel-dev-1a0703ede4493bd74f9c6b53f782b749e175a88e.zip op-kernel-dev-1a0703ede4493bd74f9c6b53f782b749e175a88e.tar.gz |
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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 4e018d6..76dbd3f 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 |