aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAndre Przywara2022-11-28 00:55:20 +0000
committerAndre Przywara2022-12-14 22:31:25 +0000
commiteeaca6ac27ccfd75956c1ad6ca27d9b9caf62c96 (patch)
treeeff22cff91f717990265d4fa0e0fa2e98a3cf753 /board
parented82586c4054c62c35e119f4f0a14619f0ad6c2e (diff)
sunxi: remove bogus mmc_pinmux_setup() prototype
Since all callers of mmc_pinmux_setup() are located after the definition of that function, there is no need for a forward declaration (anymore?). Remove the prototype along with its #ifdef guards. Reviewed-by: Samuel Holland <samuel@sholland.org> Tested-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/board.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 4d2491b5a86..4fe749feb39 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -184,10 +184,6 @@ enum env_location env_get_location(enum env_operation op, int prio)
return ENVL_UNKNOWN;
}
-#ifdef CONFIG_DM_MMC
-static void mmc_pinmux_setup(int sdc);
-#endif
-
/* add board specific code here */
int board_init(void)
{