aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorSimon Glass2020-12-03 16:55:22 -0700
committerSimon Glass2020-12-13 16:51:09 -0700
commitb012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f (patch)
tree1e304c0d3f3a1a7598d6e35814d1ecd8cd8c6447 /drivers/pci
parentd1998a9fde0a917d6496299f6a97b6bccfdc6724 (diff)
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci-uclass.c3
-rw-r--r--drivers/pci/pci_sandbox.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index 344749bf608..e46c59b98ee 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -1797,8 +1797,7 @@ UCLASS_DRIVER(pci) = {
.post_probe = pci_uclass_post_probe,
.child_post_bind = pci_uclass_child_post_bind,
.per_device_auto = sizeof(struct pci_controller),
- .per_child_plat_auto =
- sizeof(struct pci_child_platdata),
+ .per_child_plat_auto = sizeof(struct pci_child_platdata),
};
static const struct dm_pci_ops pci_bridge_ops = {
diff --git a/drivers/pci/pci_sandbox.c b/drivers/pci/pci_sandbox.c
index 6de9af9937e..e2924105bd1 100644
--- a/drivers/pci/pci_sandbox.c
+++ b/drivers/pci/pci_sandbox.c
@@ -132,6 +132,5 @@ U_BOOT_DRIVER(pci_sandbox) = {
/* Attach an emulator if we can */
.child_post_bind = dm_scan_fdt_dev,
- .per_child_plat_auto =
- sizeof(struct pci_child_platdata),
+ .per_child_plat_auto = sizeof(struct pci_child_platdata),
};