Merge tag 'lsk-v3.10-android-15.02'
[firefly-linux-kernel-4.4.55.git] / include / linux / of.h
index c00415ccec4bcaa3b8bec6b569f8302aa59f88a5..43e3746d6ce53e111b2f8218974257343595ab42 100644 (file)
@@ -296,6 +296,10 @@ extern int of_property_count_elems_of_size(const struct device_node *np,
 extern int of_property_read_u32_index(const struct device_node *np,
                                       const char *propname,
                                       u32 index, u32 *out_value);
+
+extern int of_property_read_u8_array_tp(const struct device_node *np,
+                       const char *propname, u8 *out_values, size_t sz);
+
 extern int of_property_read_u8_array(const struct device_node *np,
                        const char *propname, u8 *out_values, size_t sz);
 extern int of_property_read_u16_array(const struct device_node *np,
@@ -472,6 +476,14 @@ static inline int of_property_read_u32_index(const struct device_node *np,
        return -ENOSYS;
 }
 
+static inline int of_property_read_u8_array_tp(const struct device_node *np,
+                       const char *propname, u8 *out_values, size_t sz)
+{
+       return -ENOSYS;
+}
+
+
+
 static inline int of_property_read_u8_array(const struct device_node *np,
                        const char *propname, u8 *out_values, size_t sz)
 {