From bef4ec7e57a44408bef318ffac4dee031338aa8d Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 30 Jan 2022 11:33:15 +0100 Subject: [PATCH] soc/samsung/exynos5250: Add missing 'void' in function definition Change-Id: I59203253ba9e66e4db3ff5dcae347b68d1203f21 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61481 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/samsung/exynos5250/usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/samsung/exynos5250/usb.c b/src/soc/samsung/exynos5250/usb.c index cadc71e682..27abe19fac 100644 --- a/src/soc/samsung/exynos5250/usb.c +++ b/src/soc/samsung/exynos5250/usb.c @@ -16,7 +16,7 @@ static void reset_dwc3(struct exynos5_usb_drd_dwc3 *dwc3) 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 @@ static void setup_dwc3(struct exynos5_usb_drd_dwc3 *dwc3) 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 @@ static void setup_drd_phy(struct exynos5_usb_drd_phy *phy) 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);