]> git.baikalelectronics.ru Git - uboot.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)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 16:00:01 +0000 (18:00 +0200)
commit6b0b36dee514185907358845bc31a0823dafe6ef
tree18b8a6f2e639333881a850fd71eebb242fcf872a
parentcff8f7caca7c430d4908022e3b6a11f5d41762f0
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>
arch/arm/include/asm/arch-mx6/clock.h