summaryrefslogtreecommitdiff
path: root/include/dm/platdata.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 06:55:17 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:07:26 +0100
commit0040b9442947d00a540f6e93742384a14453c37e (patch)
tree2aa741afd34f31f5a2dce02ed547190ca945652c /include/dm/platdata.h
parent3234aa4babd79bf92239409145db4fda2f505051 (diff)
downloadu-boot-imx-0040b9442947d00a540f6e93742384a14453c37e.zip
u-boot-imx-0040b9442947d00a540f6e93742384a14453c37e.tar.gz
u-boot-imx-0040b9442947d00a540f6e93742384a14453c37e.tar.bz2
dm: Tidy up some header file comments
Fix up the style of a few comments and add/clarify a few others. Signed-off-by: Simon Glass <sjg@chromium.org>
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) \