remarkable-linux/drivers/of
Arnd Bergmann 5d4dd65b1e of: fix unittest build without CONFIG_OF_OVERLAY
We get a link error when the new tests are used by overlays
are not:

drivers/of/built-in.o: In function `unflatten_device_tree':
(.init.text+0x967): undefined reference to `unittest_unflatten_overlay_base'

This makes the #ifdef check match the symbols that lead to building
the unittest_unflatten_overlay_base function.

Fixes: 81d0848fc8 ("of: Add unit tests for applying overlays")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Tested-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2017-04-28 16:17:56 -05:00
..
unittest-data of: Add unit tests for applying overlays 2017-04-27 17:26:06 -05:00
address.c
base.c DeviceTree updates for 4.11: 2017-02-22 19:23:14 -08:00
device.c of: Add function for generating a DT modalias with a newline 2017-03-22 14:56:13 -05:00
dynamic.c
fdt.c of: Add unit tests for applying overlays 2017-04-27 17:26:06 -05:00
fdt_address.c
irq.c of/irq: improve error report on irq discovery process failure 2017-01-09 09:52:17 -06:00
Kconfig
Makefile
of_mdio.c of_mdio: Add "broadcom,bcm5241" to the whitelist. 2017-02-19 18:19:37 -05:00
of_net.c
of_numa.c of: fix "/cpus" reference leak in of_numa_parse_cpu_nodes() 2017-04-18 11:04:12 -05:00
of_pci.c of/pci: Add of_pci_get_max_link_speed() to parse max-link-speed from DT 2016-11-14 15:21:14 -06:00
of_pci_irq.c of/irq: improve error report on irq discovery process failure 2017-01-09 09:52:17 -06:00
of_private.h of: fix unittest build without CONFIG_OF_OVERLAY 2017-04-28 16:17:56 -05:00
of_reserved_mem.c of: reserved_mem: set dma_ops for devices using reserved mem 2017-01-04 14:00:45 -06:00
overlay.c of: remove redundant memset in overlay 2017-01-09 14:21:23 -06:00
pdt.c
platform.c of: make of_device_make_bus_id() static 2017-02-09 09:29:37 -06:00
resolver.c of: drop duplicate headers 2017-01-04 14:01:28 -06:00
unittest.c of: Add unit tests for applying overlays 2017-04-27 17:26:06 -05:00