PM / shmobile: Fix build of sh7372_pm_init() for CONFIG_PM unset
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 17 Nov 2011 20:39:55 +0000 (21:39 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 17 Nov 2011 20:39:55 +0000 (21:39 +0100)
commit88995e809f8a8115f30db24696c9137aad93d570
tree4e21d1921b224155d49376bdc88ba25715bbd925
parent8b258cc8ac229aa7d5dcb7cc34cb35d9124498ac
PM / shmobile: Fix build of sh7372_pm_init() for CONFIG_PM unset

Fix build regression introduced by commit 056879d2f244001b2888cdc8cf
(ARM: mach-shmobile: sh7372 A3SP no_suspend_console fix) by moving
the intialization of the A3SP domain to a separate function and
providing an empty definition of it for CONFIG_PM unset.

Reported-and-tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/pm-sh7372.c