summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-30 11:33:15 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-01 18:04:36 +0000
commitbef4ec7e57a44408bef318ffac4dee031338aa8d (patch)
tree17a3cee18a9841c95aaad9bc5010fe1f5ea8d862 /src
parentabdf684c372c3d6dd13d10b441f89e943cebbe8d (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/soc/samsung/exynos5250/usb.c6
1 files 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);