linux-stable/drivers/of
Wesley Cheng fe794e3954 of: Add stub for of_add_property()
If building with OF Kconfig disabled, this can lead to errors for
drivers utilizing of_add_property().  Add a stub for the add API, as
it exists for the remove variant as well, and to avoid compliation
issues.  Also, export this API so that it can be used by modules.

Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Link: https://lore.kernel.org/r/1625908395-5498-5-git-send-email-wcheng@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-12 09:37:26 +02:00
..
unittest-data of: unittest: Statically apply overlays using fdtoverlay 2021-03-23 15:27:51 -06:00
address.c of: Remove superfluous casts when printing u64 values 2021-06-16 13:55:05 -06:00
base.c of: Add stub for of_add_property() 2021-07-12 09:37:26 +02:00
device.c of: device: Fix function name in header and provide missing descriptions 2021-03-23 15:27:52 -06:00
dynamic.c of: Add missing 'Return' section in kerneldoc comments 2021-03-27 12:59:03 -06:00
fdt.c of: Remove superfluous casts when printing u64 values 2021-06-16 13:55:05 -06:00
fdt_address.c
irq.c of: Add missing 'Return' section in kerneldoc comments 2021-03-27 12:59:03 -06:00
Kconfig of: Drop reserved mem dependency on DMA_DECLARE_COHERENT and DMA_CMA 2021-06-02 20:59:28 -05:00
kexec.c kexec: Use fdt_appendprop_addrrange() to add ima buffer to FDT 2021-03-08 12:06:30 -07:00
kobj.c of: Fix a refcounting bug in __of_attach_node_sysfs() 2020-05-27 19:30:25 -06:00
Makefile of: Add a common kexec FDT setup function 2021-03-08 12:06:29 -07:00
of_net.c of: net: fix of_get_mac_addr_nvmem() for non-platform devices 2021-04-13 14:35:02 -07:00
of_numa.c
of_private.h of: Move reserved memory private function declarations 2021-06-02 20:59:28 -05:00
of_reserved_mem.c of: of_reserved_mem: mark nomap memory instead of removing 2021-06-24 13:47:26 -06:00
overlay.c of: overlay: Remove redundant assignment to ret 2021-05-03 13:57:56 -05:00
pdt.c
platform.c iommu: Drop unnecessary of_iommu.h includes 2021-06-08 14:15:46 +02:00
property.c Devicetree updates for v5.13: 2021-04-28 15:50:24 -07:00
resolver.c of: overlay: log the error cause on resolver failure 2020-03-02 11:32:44 -06:00
unittest.c of: unittest: Use DEFINE_RES_MEM() to simplify code 2021-06-04 17:29:18 -05:00