]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / shmobile: Fix build of sh7372_pm_init() for CONFIG_PM unset
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 16 Nov 2011 23:02:16 +0000 (00:02 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 16 Nov 2011 23:02:16 +0000 (00:02 +0100)
commit7f1a9770385262aadb52ce7f8cfe17bc0d468096
tree2983d8c2ef64bf8bb60952b3a7a8444a8eddbcd3
parenteef917f9ad8cf56b49b2b5569e0a296b78c37580
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-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/pm-sh7372.c