summaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5420
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/samsung/exynos5420')
-rw-r--r--src/soc/samsung/exynos5420/usb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/samsung/exynos5420/usb.c b/src/soc/samsung/exynos5420/usb.c
index ef2b18565e..352f6b5638 100644
--- a/src/soc/samsung/exynos5420/usb.c
+++ b/src/soc/samsung/exynos5420/usb.c
@@ -16,13 +16,13 @@ static void reset_dwc3(struct exynos5_usb_drd_dwc3 *dwc3)
setbits32(&dwc3->usb2phycfg, 0x1 << 31); /* PHY soft reset */
}
-void reset_usb_drd0_dwc3()
+void reset_usb_drd0_dwc3(void)
{
printk(BIOS_DEBUG, "Starting DWC3 reset for USB DRD0\n");
reset_dwc3(exynos_usb_drd0_dwc3);
}
-void reset_usb_drd1_dwc3()
+void reset_usb_drd1_dwc3(void)
{
printk(BIOS_DEBUG, "Starting DWC3 reset for USB DRD1\n");
reset_dwc3(exynos_usb_drd1_dwc3);
@@ -58,13 +58,13 @@ static void setup_dwc3(struct exynos5_usb_drd_dwc3 *dwc3)
0x1 << 12); /* port capability HOST */
}
-void setup_usb_drd0_dwc3()
+void setup_usb_drd0_dwc3(void)
{
setup_dwc3(exynos_usb_drd0_dwc3);
printk(BIOS_DEBUG, "DWC3 setup for USB DRD0 finished\n");
}
-void setup_usb_drd1_dwc3()
+void setup_usb_drd1_dwc3(void)
{
setup_dwc3(exynos_usb_drd1_dwc3);
printk(BIOS_DEBUG, "DWC3 setup for USB DRD1 finished\n");
@@ -121,14 +121,14 @@ static void setup_drd_phy(struct exynos5_usb_drd_phy *phy)
clrbits32(&phy->clkrst, 0x1 << 1); /* deassert port reset */
}
-void setup_usb_drd0_phy()
+void setup_usb_drd0_phy(void)
{
printk(BIOS_DEBUG, "Powering up USB DRD0 PHY\n");
setbits32(&exynos_power->usb_drd0_phy_ctrl, POWER_USB_PHY_CTRL_EN);
setup_drd_phy(exynos_usb_drd0_phy);
}
-void setup_usb_drd1_phy()
+void setup_usb_drd1_phy(void)
{
printk(BIOS_DEBUG, "Powering up USB DRD1 PHY\n");
setbits32(&exynos_power->usb_drd1_phy_ctrl, POWER_USB_PHY_CTRL_EN);