diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/of.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 1b7392cdb3..e5df4cab4a 100644 --- a/include/of.h +++ b/include/of.h @@ -241,6 +241,8 @@ extern int of_property_write_string(struct device_node *np, const char *propname const char *value); extern int of_property_write_strings(struct device_node *np, const char *propname, ...) __attribute__((__sentinel__)); +int of_property_sprintf(struct device_node *np, const char *propname, const char *fmt, ...) + __attribute__ ((format(__printf__, 3, 4))); extern struct device_node *of_parse_phandle(const struct device_node *np, const char *phandle_name, |