diff options
author | Tony Lindgren <tony@atomide.com> | 2016-07-04 09:29:45 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-07-04 09:29:45 +0300 |
commit | b3bf289c1c4561b4262084b64d1a115e4ba845cf (patch) | |
tree | a490d9c90a50157b20cf944695252ef283e83eaa /arch/arm/mach-omap2/omap-mpuss-lowpower.c | |
parent | 44e7475d40eb26b8d3a6e2b2f7a5f12a5fe0942e (diff) | |
download | linux-b3bf289c1c4561b4262084b64d1a115e4ba845cf.tar.xz |
ARM: OMAP2+: Fix build with CONFIG_SMP and CONFIG_PM is not set
I found one more make randconfig build error with the recent
SMP kexec changes. We need the mpuss now always available early.
Fixes: 0573b957fc21 ("ARM: OMAP4+: Prevent CPU1 related hang
with kexec")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap-mpuss-lowpower.c')
-rw-r--r-- | arch/arm/mach-omap2/omap-mpuss-lowpower.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss-lowpower.c index 17515179e6ae..ad982465efd0 100644 --- a/arch/arm/mach-omap2/omap-mpuss-lowpower.c +++ b/arch/arm/mach-omap2/omap-mpuss-lowpower.c @@ -64,7 +64,7 @@ static void __iomem *sar_base; -#ifdef CONFIG_SMP +#if defined(CONFIG_PM) && defined(CONFIG_SMP) struct omap4_cpu_pm_info { struct powerdomain *pwrdm; |