[PATCH] ARM: Kirkwood: fix kirkwood_pm_init() declaration/type

Andrew Lunn andrew at lunn.ch
Thu Jun 9 06:34:19 PDT 2016


On Thu, Jun 09, 2016 at 12:57:12PM +0100, Ben Dooks wrote:
> The kirkwood-pm.c was missing the include of kirkwood-pm.h to
> define the kirkwood_pm_init() function. However once this is
> included, the types do not match.
> 
> Fixup the include, and then the prototype to avoid the following
> warning:
> 
> arch/arm/mach-mvebu/kirkwood-pm.c:69:12: warning: symbol 'kirkwood_pm_init' was not declared. Should it be static?
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>


Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list