ARM: kirkwood: kirkwood_pm_init() should return void
commit77dfdeb41125b6468790fa4c620da262c910cbc9
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 17 Jan 2014 18:52:11 +0000 (17 15:52 -0300)
committerJason Cooper <jason@lakedaemon.net>
Sat, 18 Jan 2014 23:48:17 +0000 (18 23:48 +0000)
treeb58e973a73e7dec3e3e2aaffd1d219ad5d2dccd1
parentf28d7de6bd4d41774744e011141945affa127da4
ARM: kirkwood: kirkwood_pm_init() should return void

This function was originally meant to return void as declared in the
common.h header. Fix it and include the header to catch these errors
in the future.

[jac] removed 'return 0;' to clear this warning:

  arch/arm/mach-kirkwood/pm.c: In function 'kirkwood_pm_init':
  arch/arm/mach-kirkwood/pm.c:73:2: warning: 'return' with a value, in function returning void [enabled by default]

Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-kirkwood/pm.c