]> git.baikalelectronics.ru Git - arm-tf.git/commit
rk3399: m0: Fix compiler warnings.
authorChristoph Müllner <christophm30@gmail.com>
Mon, 15 Apr 2019 19:42:29 +0000 (21:42 +0200)
committerChristoph Müllner <christophm30@gmail.com>
Wed, 24 Apr 2019 21:03:10 +0000 (23:03 +0200)
commitaf81a91ff43c94c6b817320d8fb1706637a1fc70
tree317d0ae55fec1257632a9aaaaadaf043aadcac0c
parentc3e4e0888d92f5e82fdd626e2eb5fdee3892bb2a
rk3399: m0: Fix compiler warnings.

GCC complains for quite some versions, when compiling the M0 firmware
for Rockchip's rk3399 platform, about an invalid type of function 'main':

  warning: return type of 'main' is not 'int' [-Wmain]

This patch addresses this, by renaming the function to 'm0_main'.

Signed-off-by: Christoph Müllner <christophm30@gmail.com>
Change-Id: I10887f2bda6bdb48c5017044c264139004f7c785
plat/rockchip/rk3399/drivers/m0/src/dram.c
plat/rockchip/rk3399/drivers/m0/src/startup.c
plat/rockchip/rk3399/drivers/m0/src/suspend.c