soc/samsung/exynos5250: Add missing 'void' in function definition
Change-Id: I59203253ba9e66e4db3ff5dcae347b68d1203f21
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61481
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
diff --git a/src/soc/samsung/exynos5250/usb.c b/src/soc/samsung/exynos5250/usb.c
index cadc71e..27abe19 100644
--- a/src/soc/samsung/exynos5250/usb.c
+++ b/src/soc/samsung/exynos5250/usb.c
@@ -16,7 +16,7 @@
setbits32(&dwc3->usb2phycfg, 0x1 << 31); /* PHY soft reset */
}
-void reset_usb_drd_dwc3()
+void reset_usb_drd_dwc3(void)
{
printk(BIOS_DEBUG, "Starting DWC3 reset for USB DRD\n");
reset_dwc3(exynos_usb_drd_dwc3);
@@ -52,7 +52,7 @@
0x1 << 12); /* port capability HOST */
}
-void setup_usb_drd_dwc3()
+void setup_usb_drd_dwc3(void)
{
setup_dwc3(exynos_usb_drd_dwc3);
printk(BIOS_DEBUG, "DWC3 setup for USB DRD finished\n");
@@ -109,7 +109,7 @@
clrbits32(&phy->clkrst, 0x1 << 1); /* deassert port reset */
}
-void setup_usb_drd_phy()
+void setup_usb_drd_phy(void)
{
printk(BIOS_DEBUG, "Powering up USB DRD PHY\n");
setbits32(&exynos_power->usb_drd_phy_ctrl, POWER_USB_PHY_CTRL_EN);