ARM: Kirkwood: fix kirkwood_pm_init() declaration/type
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 9 Jun 2016 11:57:12 +0000 (12:57 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 16 Jun 2016 10:01:37 +0000 (12:01 +0200)
commitd705c1a66e151e587271265c29844817d5108375
tree4ae2c8db822ce83d6a3511183c9fe9a9270cc50d
parent15b10c6a60e28f2065389da7fc8af538ea727604
ARM: Kirkwood: fix kirkwood_pm_init() declaration/type

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@codethink.co.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-mvebu/kirkwood-pm.c