summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-02 20:14:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-05 08:26:57 +0200
commit61bb8bfc7cf12a32d547c0084a2999712bef6443 (patch)
treec7fc71cc80d506ffdad4fb7b4b35ad4c4bf75a6f /drivers/of/Makefile
parent483424e0276309264f5a517f2d7be217557349fb (diff)
downloadbarebox-61bb8bfc7cf12a32d547c0084a2999712bef6443.tar.gz
barebox-61bb8bfc7cf12a32d547c0084a2999712bef6443.tar.xz
OF: gpio: convert DT based gpio handling to new OF API
This creates a Linux OF API compatible counterpart of of_get_named_gpio_flags. Existing of_get_named_gpio is converted to a static inline function, which is in the corresponding of_gpio.h include. While at it, drivers/of/gpio.c is also renamed to drivers/of/of_gpio.c to follow the of_ prefix naming scheme. The new include is also added to existing users of of_get_named_gpio. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index 186074eaee..e7d07334b0 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -1,5 +1,5 @@
obj-y += address.o base.o fdt.o platform.o
obj-$(CONFIG_OFTREE_MEM_GENERIC) += mem_generic.o
-obj-$(CONFIG_GPIOLIB) += gpio.o
+obj-$(CONFIG_GPIOLIB) += of_gpio.o
obj-y += partition.o
obj-y += of_net.o