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>
This commit is contained in:
@@ -22,7 +22,7 @@ static int lcd_dt_simplefb_configure_node(void *blob, int off)
|
||||
const char *name;
|
||||
ulong fb_base;
|
||||
#ifdef CONFIG_DM_VIDEO
|
||||
struct video_uc_platdata *plat;
|
||||
struct video_uc_plat *plat;
|
||||
struct video_priv *uc_priv;
|
||||
struct udevice *dev;
|
||||
int ret;
|
||||
|
||||
@@ -959,7 +959,7 @@ UCLASS_DRIVER(usb_hub) = {
|
||||
.post_probe = usb_hub_post_probe,
|
||||
.child_pre_probe = usb_child_pre_probe,
|
||||
.per_child_auto = sizeof(struct usb_device),
|
||||
.per_child_plat_auto = sizeof(struct usb_dev_platdata),
|
||||
.per_child_plat_auto = sizeof(struct usb_dev_plat),
|
||||
.per_device_auto = sizeof(struct usb_hub_device),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user