dt: Add empty of_find_node_by_name() function
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>
This commit is contained in:
parent
8b59c1a8d9
commit
5382a0171f
1 changed files with 6 additions and 0 deletions
|
@ -315,6 +315,12 @@ static inline const char* of_node_full_name(struct device_node *np)
|
||||||
return "<no-node>";
|
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)
|
static inline bool of_have_populated_dt(void)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue