diff options
Diffstat (limited to 'include/of.h')
-rw-r--r-- | include/of.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 0ba73f197f..9ba771a395 100644 --- a/include/of.h +++ b/include/of.h @@ -150,6 +150,7 @@ extern int of_machine_is_compatible(const char *compat); extern int of_device_is_compatible(const struct device_node *device, const char *compat); extern int of_device_is_available(const struct device_node *device); +extern bool of_device_is_big_endian(const struct device_node *device); extern struct device_node *of_get_parent(const struct device_node *node); extern struct device_node *of_get_next_available_child( @@ -595,6 +596,11 @@ static inline int of_device_is_available(const struct device_node *device) return 0; } +static inline bool of_device_is_big_endian(const struct device_node *device) +{ + return false; +} + static inline void of_alias_scan(void) { } |