]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/83xx: Build breakage for CONFIG_PM but no CONFIG_SUSPEND
authorMichael Neuling <mikey@neuling.org>
Fri, 6 Feb 2009 00:10:27 +0000 (11:10 +1100)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 6 Feb 2009 16:36:44 +0000 (10:36 -0600)
commite2a02ba6676cdc5ebec503b558838c08c7083c14
treef7d46bd1ec46fc397bcd3e5a6763fb56515c13a3
parenteda58a85ec3fc05855a26654d97a2b53f0e715b9
powerpc/83xx: Build breakage for CONFIG_PM but no CONFIG_SUSPEND

I noticed this doing some randconfig testing (.config below).  I have
CONFIG_PM but no CONFIG_SUSPEND.  Bug is against mainline.

arch/powerpc/sysdev/built-in.o: In function `ipic_suspend':
ipic.c:(.text+0x6b34): undefined reference to `fsl_deep_sleep'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [sub-make] Error 2

Looks like #ifdef CONFIG_PM in arch/powerpc/sysdev/ipic.c should be
CONFIG_SUSPEND.  d49747bdfb2ddebea24d1580da55b79d093d48a9 introduced
this.

Fix build when we have CONFIG_PM but no CONFIG_SUSPEND.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/ipic.c