diff options
Diffstat (limited to 'include/of.h')
-rw-r--r-- | include/of.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 184acb4741..b5f54dd4e5 100644 --- a/include/of.h +++ b/include/of.h @@ -255,6 +255,8 @@ extern int of_platform_populate(struct device_node *root, extern struct device_d *of_find_device_by_node(struct device_node *np); extern struct device_d *of_device_enable_and_register(struct device_node *np); extern struct device_d *of_device_enable_and_register_by_name(const char *name); +extern struct device_d *of_device_enable_and_register_by_alias( + const char *alias); struct cdev *of_parse_partition(struct cdev *cdev, struct device_node *node); int of_parse_partitions(struct cdev *cdev, struct device_node *node); @@ -670,6 +672,12 @@ static inline struct device_d *of_device_enable_and_register_by_name( return NULL; } +static inline struct device_d *of_device_enable_and_register_by_alias( + const char *alias) +{ + return NULL; +} + static inline int of_register_fixup(int (*fixup)(struct device_node *, void *), void *context) { |