Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd3d5500 authored by Thierry Reding's avatar Thierry Reding
Browse files

dt: Add empty of_property_match_string() function



This commit adds an empty of_property_match_string() function for
!CONFIG_OF builds.

Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
parent 8138d2dd
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -377,6 +377,13 @@ static inline int of_property_read_u64(const struct device_node *np,
	return -ENOSYS;
	return -ENOSYS;
}
}


static inline int of_property_match_string(struct device_node *np,
					   const char *propname,
					   const char *string)
{
	return -ENOSYS;
}

static inline struct device_node *of_parse_phandle(struct device_node *np,
static inline struct device_node *of_parse_phandle(struct device_node *np,
						   const char *phandle_name,
						   const char *phandle_name,
						   int index)
						   int index)