]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6: clock: Add a prototype for do_mx6_showclocks()
authorDiego Dorta <diego.dorta@nxp.com>
Thu, 5 Oct 2017 12:15:57 +0000 (09:15 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 12 Oct 2017 20:40:46 +0000 (17:40 -0300)
commit308e7844f819c088f3e10994dd36c2dde93557e3
treef89f8447a680c60762edf01344fd708fe90cad73
parent300a095165dc2c9993ca773a60454860cb15b656
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>
(cherry picked from commit 342b4b09b1fb58753bc46609d5ea68759b7d8626)
arch/arm/include/asm/arch-mx6/clock.h