[U-Boot] [PATCH] ARM: MX3: fix warning: function declaration isn't a prototype

Wolfgang Denk wd at denx.de
Fri Aug 5 14:19:05 CEST 2011


Fix:

include/asm/arch/clock.h:35: warning: function declaration isn't a prototype

Signed-off-by: Wolfgang Denk <wd at denx.de>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
---
 arch/arm/include/asm/arch-mx31/clock.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/arch-mx31/clock.h b/arch/arm/include/asm/arch-mx31/clock.h
index fb035c4..b132676 100644
--- a/arch/arm/include/asm/arch-mx31/clock.h
+++ b/arch/arm/include/asm/arch-mx31/clock.h
@@ -32,7 +32,7 @@ enum mxc_clock {
 };
 
 unsigned int mxc_get_clock(enum mxc_clock clk);
-extern u32 imx_get_uartclk();
+extern u32 imx_get_uartclk(void);
 extern void mx31_gpio_mux(unsigned long mode);
 extern void mx31_set_pad(enum iomux_pins pin, u32 config);
 
-- 
1.7.6



More information about the U-Boot mailing list