]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
dt: Add empty of_find_node_by_name() function
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 10 Sep 2012 10:46:24 +0000 (13:46 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 22 Sep 2012 15:15:03 +0000 (11:15 -0400)
This commit adds an empty of_find_node_by_name() function for !CONFIG_OF
builds.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/of.h

index 1b1163225f3b8ab1eafacbb21e83ab8f86d50d42..5c7a15836996e92dd3c5fe33cf2161c95d3b16bf 100644 (file)
@@ -315,6 +315,12 @@ static inline const char* of_node_full_name(struct device_node *np)
        return "<no-node>";
 }
 
+static inline struct device_node *of_find_node_by_name(struct device_node *from,
+       const char *name)
+{
+       return NULL;
+}
+
 static inline bool of_have_populated_dt(void)
 {
        return false;