dm: treewide: Update 'auto' declarations to be on one line
Fix up the code style for those declarations that should now fit onto one line, which is all of them that currently do not. This is needed for dtoc to detect the structs correctly, at present. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -103,8 +103,7 @@ U_BOOT_DRIVER(testbus_drv) = {
|
||||
.priv_auto = sizeof(struct dm_test_priv),
|
||||
.plat_auto = sizeof(struct dm_test_pdata),
|
||||
.per_child_auto = sizeof(struct dm_test_parent_data),
|
||||
.per_child_plat_auto =
|
||||
sizeof(struct dm_test_parent_plat),
|
||||
.per_child_plat_auto = sizeof(struct dm_test_parent_plat),
|
||||
.child_pre_probe = testbus_child_pre_probe,
|
||||
.child_post_remove = testbus_child_post_remove,
|
||||
};
|
||||
|
||||
@@ -126,6 +126,5 @@ UCLASS_DRIVER(test) = {
|
||||
.destroy = test_destroy,
|
||||
.priv_auto = sizeof(struct dm_test_uclass_priv),
|
||||
.per_device_auto = sizeof(struct dm_test_uclass_perdev_priv),
|
||||
.per_device_plat_auto =
|
||||
sizeof(struct dm_test_perdev_uc_pdata),
|
||||
.per_device_plat_auto = sizeof(struct dm_test_perdev_uc_pdata),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user