]> git.sur5r.net Git - u-boot/commit
mx6: sys_proto: Add prototypes for imx6_pcie_toggle() functions
authorDiego Dorta <diego.dorta@nxp.com>
Thu, 5 Oct 2017 12:15:58 +0000 (09:15 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 16:00:18 +0000 (18:00 +0200)
commite2000731ae5396d97bae44c404e63d5f7b6e4788
tree60a9bf13c48daafc3b78651444c9ea8efe53c8d6
parent342b4b09b1fb58753bc46609d5ea68759b7d8626
mx6: sys_proto: Add prototypes for imx6_pcie_toggle() functions

When compiling with W=1 errors are observed:

drivers/pci/pcie_imx.c:517:12: warning: no previous prototype for ‘imx6_pcie_toggle_power’ [-Wmissing-prototypes] __weak int imx6_pcie_toggle_power(void)

drivers/pci/pcie_imx.c:528:12: warning: no previous prototype for ‘imx6_pcie_toggle_reset’ [-Wmissing-prototypes] __weak int imx6_pcie_toggle_reset(void)

Remove these warnings by adding the functions prototypes on arch-mx6/sys_proto.

Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
arch/arm/include/asm/arch-mx6/sys_proto.h