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.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/dm/platdata.h b/include/dm/platdata.h
index 0ef3353..2bc8b14 100644
--- a/include/dm/platdata.h
+++ b/include/dm/platdata.h
@@ -11,9 +11,15 @@
#ifndef _DM_PLATDATA_H
#define _DM_PLATDATA_H
+/**
+ * struct driver_info - Information required to instantiate a device
+ *
+ * @name: Device name
+ * @platdata: Driver-specific platform data
+ */
struct driver_info {
- const char *name;
- const void *platdata;
+ const char *name;
+ const void *platdata;
};
#define U_BOOT_DEVICE(__name) \