aboutsummaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass2020-12-03 16:55:19 -0700
committerSimon Glass2020-12-13 16:51:09 -0700
commit4f50086ad6d69c355a07389fb436c64c92ec614a (patch)
tree378f571fa378fb8e2f4bb38859face7d7b855600 /include/dm
parentcaa4daa2ae3dc0a3e516addea5772c9af76abcb0 (diff)
dm: Rename 'platdata_size' to 'plat_size'
Rename this to be consistent with the change from 'platdata'. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/platdata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/platdata.h b/include/dm/platdata.h
index 6094b663f8b..d650fb39190 100644
--- a/include/dm/platdata.h
+++ b/include/dm/platdata.h
@@ -21,14 +21,14 @@
*
* @name: Driver name
* @plat: Driver-specific platform data
- * @platdata_size: Size of platform data structure
+ * @plat_size: Size of platform data structure
* @parent_idx: Index of the parent driver_info structure
*/
struct driver_info {
const char *name;
const void *plat;
#if CONFIG_IS_ENABLED(OF_PLATDATA)
- unsigned short platdata_size;
+ unsigned short plat_size;
short parent_idx;
#endif
};