summaryrefslogtreecommitdiff
path: root/drivers/misc/fs_loader.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-04 02:55:23 +0300
committerSimon Glass <sjg@chromium.org>2020-12-14 02:51:09 +0300
commit8a8d24bdf174851ebb8607f359d54b72e3283b97 (patch)
tree89fe2b9fd0c33209ce154170f9bda61f624dd9cd /drivers/misc/fs_loader.c
parentb012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f (diff)
downloadu-boot-8a8d24bdf174851ebb8607f359d54b72e3283b97.tar.xz
dm: treewide: Rename ..._platdata variables to just ..._plat
Try to maintain some consistency between these variables by using _plat as a suffix for them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/fs_loader.c')
-rw-r--r--drivers/misc/fs_loader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/fs_loader.c b/drivers/misc/fs_loader.c
index c228e84fa1..5ed8ab6530 100644
--- a/drivers/misc/fs_loader.c
+++ b/drivers/misc/fs_loader.c
@@ -61,7 +61,7 @@ static int mount_ubifs(char *mtdpart, char *ubivol)
}
#endif
-static int select_fs_dev(struct device_platdata *plat)
+static int select_fs_dev(struct device_plat *plat)
{
int ret;
@@ -226,7 +226,7 @@ static int fs_loader_of_to_plat(struct udevice *dev)
ofnode fs_loader_node = dev_ofnode(dev);
if (ofnode_valid(fs_loader_node)) {
- struct device_platdata *plat;
+ struct device_plat *plat;
plat = dev->plat;
if (!ofnode_read_u32_array(fs_loader_node,
@@ -250,7 +250,7 @@ static int fs_loader_probe(struct udevice *dev)
{
#if CONFIG_IS_ENABLED(DM) && CONFIG_IS_ENABLED(BLK)
int ret;
- struct device_platdata *plat = dev->plat;
+ struct device_plat *plat = dev->plat;
if (plat->phandlepart.phandle) {
ofnode node = ofnode_get_by_phandle(plat->phandlepart.phandle);
@@ -285,7 +285,7 @@ U_BOOT_DRIVER(fs_loader) = {
.of_match = fs_loader_ids,
.probe = fs_loader_probe,
.of_to_plat = fs_loader_of_to_plat,
- .plat_auto = sizeof(struct device_platdata),
+ .plat_auto = sizeof(struct device_plat),
.priv_auto = sizeof(struct firmware),
};