Re: [PATCH] sunxi: Silence warning about non-static inline function

2020-06-01 Thread Jagan Teki
On Fri, May 8, 2020 at 4:31 AM Samuel Holland wrote: > > When compiling with CONFIG_SPL_SERIAL=n, gcc warns about > mbus_configure_port not being marked as static: > > In file included from include/common.h:34, > from arch/arm/mach-sunxi/dram_sunxi_dw.c:11: > include/log.h:185:4:

[PATCH] sunxi: Silence warning about non-static inline function

2020-05-07 Thread Samuel Holland
When compiling with CONFIG_SPL_SERIAL=n, gcc warns about mbus_configure_port not being marked as static: In file included from include/common.h:34, from arch/arm/mach-sunxi/dram_sunxi_dw.c:11: include/log.h:185:4: warning: 'printf' is static but used in inline function