summaryrefslogtreecommitdiff
path: root/include/dm/platdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dm/platdata.h')
-rw-r--r--include/dm/platdata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dm/platdata.h b/include/dm/platdata.h
index 6f4f00140e..488b2ab0ae 100644
--- a/include/dm/platdata.h
+++ b/include/dm/platdata.h
@@ -22,10 +22,15 @@
*
* @name: Driver name
* @platdata: Driver-specific platform data
+ * @platdata_size: Size of platform data structure
+ * @flags: Platform data flags (DM_FLAG_...)
*/
struct driver_info {
const char *name;
const void *platdata;
+#if CONFIG_IS_ENABLED(OF_PLATDATA)
+ uint platdata_size;
+#endif
};
/**