summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-12-12 17:25:57 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-12-12 21:40:16 +0100
commit53a42093d96ef5ede3b4f4cdb8f3256f27228ab0 (patch)
tree7ed1bf6fc3b9aa764072a2969903b316fd333871 /drivers/of/Makefile
parentof: create of_phandle_args to simplify return of phandle parsing data (diff)
downloadlinux-53a42093d96ef5ede3b4f4cdb8f3256f27228ab0.tar.xz
linux-53a42093d96ef5ede3b4f4cdb8f3256f27228ab0.zip
of: Add device tree selftests
Add some runtime test cases for the library of device tree parsing functions. v2: - Add testcase for phandle with 0 args - Don't run testcases if testcase data isn't present in device tree Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index dccb1176be57..a73f5a51ff4c 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -8,6 +8,7 @@ obj-$(CONFIG_OF_GPIO) += gpio.o
obj-$(CONFIG_OF_I2C) += of_i2c.o
obj-$(CONFIG_OF_NET) += of_net.o
obj-$(CONFIG_OF_SPI) += of_spi.o
+obj-$(CONFIG_OF_SELFTEST) += selftest.o
obj-$(CONFIG_OF_MDIO) += of_mdio.o
obj-$(CONFIG_OF_PCI) += of_pci.o
obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o