aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pci-uclass.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-16 11:14:21 -0500
committerTom Rini <trini@konsulko.com>2021-01-16 11:14:21 -0500
commit14ea1b3635b4af8d9e283e3671f7ee872d50b859 (patch)
treeb8d1c05256b6f160a598656e797071081bd1f61e /drivers/pci/pci-uclass.c
parentb0db69b4e1e1bf1109bd9d4a5185cbd4058f4a8b (diff)
parent750c543ca74a80da4b67882deb967c80fe790c3f (diff)
Merge branch '2021-01-15-assorted-improvements'
- Add MBR partition layout writing supporting, clean up code. - A large number of assorted console/iomux cleanups - A large number of board_r related cleanups. - Log enhancements
Diffstat (limited to 'drivers/pci/pci-uclass.c')
-rw-r--r--drivers/pci/pci-uclass.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index 4cdd06b125..ba65f47e80 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -1842,7 +1842,7 @@ U_BOOT_DRIVER(pci_generic_drv) = {
.of_match = pci_generic_ids,
};
-void pci_init(void)
+int pci_init(void)
{
struct udevice *bus;
@@ -1855,4 +1855,6 @@ void pci_init(void)
uclass_next_device_check(&bus)) {
;
}
+
+ return 0;
}