summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-26 11:38:51 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-28 16:43:14 +0200
commit5e94c658e40961c4a785711e225a4007c4992431 (patch)
treeaa4a40fe3b8d82d61bd89c472552b597548743ba
parent1454a0e2cdb303378432806a682fafdac752e3fc (diff)
downloadbarebox-5e94c658e40961c4a785711e225a4007c4992431.tar.gz
barebox-5e94c658e40961c4a785711e225a4007c4992431.tar.xz
drivers/of: Always compile of_path.c with OF support
of_find_path() is a OF specific library function, so always compile it when OF support is enabled. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/of/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index 0dc2f8d63e..773548e133 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -1,8 +1,8 @@
-obj-y += address.o base.o fdt.o platform.o
+obj-y += address.o base.o fdt.o platform.o of_path.o
obj-$(CONFIG_OFTREE_MEM_GENERIC) += mem_generic.o
obj-$(CONFIG_OF_GPIO) += of_gpio.o
obj-$(CONFIG_OF_PCI) += of_pci.o
obj-y += partition.o
obj-y += of_net.o
obj-$(CONFIG_MTD) += of_mtd.o
-obj-$(CONFIG_OF_BAREBOX_DRIVERS) += barebox.o of_path.o
+obj-$(CONFIG_OF_BAREBOX_DRIVERS) += barebox.o