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 d82790c052..f9c2b283de 100644 --- a/include/of.h +++ b/include/of.h @@ -283,6 +283,7 @@ extern int of_device_ensure_probed(struct device_node *np); extern int of_device_ensure_probed_by_alias(const char *alias); extern int of_devices_ensure_probed_by_property(const char *property_name); extern int of_devices_ensure_probed_by_dev_id(const struct of_device_id *ids); +extern int of_partition_ensure_probed(struct device_node *np); struct cdev *of_parse_partition(struct cdev *cdev, struct device_node *node); int of_parse_partitions(struct cdev *cdev, struct device_node *node); @@ -392,6 +393,11 @@ of_devices_ensure_probed_by_dev_id(const struct of_device_id *ids) return 0; } +static inline int of_partition_ensure_probed(struct device_node *np) +{ + return 0; +} + static inline int of_bus_n_addr_cells(struct device_node *np) { return 0; |