summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6
diff options
context:
space:
mode:
authorDiego Dorta <diego.dorta@nxp.com>2017-10-05 15:15:57 +0300
committerStefano Babic <sbabic@denx.de>2017-10-12 19:00:01 +0300
commit342b4b09b1fb58753bc46609d5ea68759b7d8626 (patch)
tree18b8a6f2e639333881a850fd71eebb242fcf872a /arch/arm/include/asm/arch-mx6
parentfe12386c2aa586e29f32b7b3ee4c621af8c56679 (diff)
downloadu-boot-342b4b09b1fb58753bc46609d5ea68759b7d8626.tar.xz
mx6: clock: Add a prototype for do_mx6_showclocks()
When compiling with W=1 the following warning is observed: arch/arm/mach-imx/mx6/clock.c:1268:5: warning: no previous prototype for ‘do_mx6_showclocks’ [-Wmissing-prototypes] int do_mx6_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) Remove this warning by adding the function prototype into arch-mx6/clock.h file. Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r--arch/arm/include/asm/arch-mx6/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/clock.h b/arch/arm/include/asm/arch-mx6/clock.h
index 2d9c45e255..26afefb081 100644
--- a/arch/arm/include/asm/arch-mx6/clock.h
+++ b/arch/arm/include/asm/arch-mx6/clock.h
@@ -80,4 +80,5 @@ void enable_thermal_clk(void);
void mxs_set_lcdclk(u32 base_addr, u32 freq);
void select_ldb_di_clock_source(enum ldb_di_clock clk);
void enable_eim_clk(unsigned char enable);
+int do_mx6_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
#endif /* __ASM_ARCH_CLOCK_H */