summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-04 02:55:19 +0300
committerSimon Glass <sjg@chromium.org>2020-12-14 02:51:09 +0300
commit4f50086ad6d69c355a07389fb436c64c92ec614a (patch)
tree378f571fa378fb8e2f4bb38859face7d7b855600 /include
parentcaa4daa2ae3dc0a3e516addea5772c9af76abcb0 (diff)
downloadu-boot-4f50086ad6d69c355a07389fb436c64c92ec614a.tar.xz
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')
-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 6094b663f8..d650fb3919 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
};