Skip to contentSkip to conversation

ARM: MX3: fix warning: function declaration isn't a prototype

PATCH New Wolfgang Denk 2 participants 2 messages Aug 5, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: MX3: fix warning: function declaration isn't a prototype

Fix:

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

Cc Stefano Babic <[email protected]>
Cc Albert ARIBAUD <[email protected]>
---
 arch/arm/include/asm/arch-mx31/clock.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/include/asm/arch-mx31/clock.h +1 -1
index fb035c4..b132676 100644
@@ -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);
 
Signature · 1 line
1.7.6
#1 lore raw

PATCH 1/1 ARM: MX3: fix warning: function declaration isn't a prototype

Quoted 8 lines · Wolfgang Denk

Fix:

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

Cc Stefano Babic <[email protected]>
Cc Albert ARIBAUD <[email protected]>

---

Already fixed on u-boot-imx....

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================