[PATCH 22/23] dove: fix compilation error when enabling power management

Brad Figg brad.figg at canonical.com
Thu Aug 27 23:21:02 UTC 2009


From: Saeed Bishara <saeed at marvell.com>

Signed-off-by: Saeed Bishara <saeed at marvell.com>
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
 arch/arm/mach-dove/dove-db-setup.c   |    1 +
 arch/arm/mach-dove/include/mach/pm.h |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-dove/dove-db-setup.c b/arch/arm/mach-dove/dove-db-setup.c
index 8b18968..d3ee183 100755
--- a/arch/arm/mach-dove/dove-db-setup.c
+++ b/arch/arm/mach-dove/dove-db-setup.c
@@ -39,6 +39,7 @@
 #include <asm/hardware/pxa-dma.h>
 #include <mach/dove_nand.h>
 #include <mach/dove_ssp.h>
+#include <mach/pm.h>
 #include <plat/cafe-orion.h>
 #include "common.h"
 #include "clock.h"
diff --git a/arch/arm/mach-dove/include/mach/pm.h b/arch/arm/mach-dove/include/mach/pm.h
index b3f25c3..5246bf6 100755
--- a/arch/arm/mach-dove/include/mach/pm.h
+++ b/arch/arm/mach-dove/include/mach/pm.h
@@ -63,6 +63,8 @@ int pm_registers_add(u32 *registers, int count);
  */
 int pm_registers_add_single(u32 register_address);
 
+void dove_pm_register (void);
+
 void dove_pm_cpuidle_deepidle (void);
 
 #endif
-- 
1.6.0.4





More information about the kernel-team mailing list