diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-25 19:01:11 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-10-26 13:19:06 -0600 |
commit | 47ba7099efe83a7413fe3706e6ba352dd0b659be (patch) | |
tree | 1a03537948364fd45ba953fdad4706449ca453df /arch/arm/mach-omap1/pm_bus.c | |
parent | ea5d8f42a3ae7fd7a78369970772021a6d68ae15 (diff) |
ARM: OMAP1: fix build breakage introduced by commit 25c7d49ed48b4843da7dea56a81ae7f620211ee0
Commit 25c7d49ed48b4843da7dea56a81ae7f620211ee0 ("ARM: OMAP: Make
omap_device local to mach-omap2") broke an OMAP5912-only build here:
arch/arm/mach-omap1/pm_bus.c: In function 'omap1_pm_runtime_init':
arch/arm/mach-omap1/pm_bus.c:69:2: error: implicit declaration of function
'cpu_class_is_omap1'
make[1]: *** [arch/arm/mach-omap1/pm_bus.o] Error 1
Fix by adding a missing include.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/pm_bus.c')
-rw-r--r-- | arch/arm/mach-omap1/pm_bus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/pm_bus.c b/arch/arm/mach-omap1/pm_bus.c index 16bf2f95117..3f2d3967239 100644 --- a/arch/arm/mach-omap1/pm_bus.c +++ b/arch/arm/mach-omap1/pm_bus.c @@ -19,6 +19,8 @@ #include <linux/clk.h> #include <linux/err.h> +#include "soc.h" + #ifdef CONFIG_PM_RUNTIME static int omap1_pm_runtime_suspend(struct device *dev) { |