summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xboard/freescale/mx53_ard/mx53_ard.c2
-rw-r--r--board/freescale/mx53_evk/mx53_evk.c2
-rw-r--r--board/freescale/mx53_loco/mx53_loco.c2
-rw-r--r--board/freescale/mx53_pcba/mx53_pcba.c2
-rw-r--r--board/freescale/mx53_smd/mx53_smd.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/mx53_ard/mx53_ard.c b/board/freescale/mx53_ard/mx53_ard.c
index 08fbbe8..29fd1c6 100755
--- a/board/freescale/mx53_ard/mx53_ard.c
+++ b/board/freescale/mx53_ard/mx53_ard.c
@@ -657,7 +657,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = {
};
#ifdef CONFIG_DYNAMIC_MMC_DEVNO
-int get_mmc_env_devno()
+int get_mmc_env_devno(void)
{
uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4);
return (soc_sbmr & 0x00300000) ? 1 : 0;
diff --git a/board/freescale/mx53_evk/mx53_evk.c b/board/freescale/mx53_evk/mx53_evk.c
index f4d2317..4193557 100644
--- a/board/freescale/mx53_evk/mx53_evk.c
+++ b/board/freescale/mx53_evk/mx53_evk.c
@@ -771,7 +771,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = {
};
#ifdef CONFIG_DYNAMIC_MMC_DEVNO
-int get_mmc_env_devno()
+int get_mmc_env_devno(void)
{
uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4);
return (soc_sbmr & 0x00300000) ? 1 : 0;
diff --git a/board/freescale/mx53_loco/mx53_loco.c b/board/freescale/mx53_loco/mx53_loco.c
index caa476a..a96c417 100644
--- a/board/freescale/mx53_loco/mx53_loco.c
+++ b/board/freescale/mx53_loco/mx53_loco.c
@@ -449,7 +449,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = {
};
#ifdef CONFIG_DYNAMIC_MMC_DEVNO
-int get_mmc_env_devno()
+int get_mmc_env_devno(void)
{
uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4);
return (soc_sbmr & 0x00300000) ? 1 : 0;
diff --git a/board/freescale/mx53_pcba/mx53_pcba.c b/board/freescale/mx53_pcba/mx53_pcba.c
index 24cb45a..e3c9621 100644
--- a/board/freescale/mx53_pcba/mx53_pcba.c
+++ b/board/freescale/mx53_pcba/mx53_pcba.c
@@ -371,7 +371,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = {
};
#ifdef CONFIG_DYNAMIC_MMC_DEVNO
-int get_mmc_env_devno()
+int get_mmc_env_devno(void)
{
uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4);
return (soc_sbmr & 0x00300000) ? 1 : 0;
diff --git a/board/freescale/mx53_smd/mx53_smd.c b/board/freescale/mx53_smd/mx53_smd.c
index a1e5c5c..b471a7b 100644
--- a/board/freescale/mx53_smd/mx53_smd.c
+++ b/board/freescale/mx53_smd/mx53_smd.c
@@ -637,7 +637,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = {
};
#ifdef CONFIG_DYNAMIC_MMC_DEVNO
-int get_mmc_env_devno()
+int get_mmc_env_devno(void)
{
uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4);
return (soc_sbmr & 0x00300000) ? 1 : 0;