mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
c531241dcc
commit
1cc44f4354
@ -308,6 +308,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;
|
||||
|
Loading…
Reference in New Issue
Block a user