summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gonzalez <alex.gonzalez@digi.com>2012-02-24 09:54:38 +0100
committerAlex Gonzalez <alex.gonzalez@digi.com>2012-02-27 10:13:24 +0100
commit2b6afec712d9f1ac2705f7083ad090ff9129c9f6 (patch)
treecf943a0fcf38afbdb9763f50c736798f55e7b660
parent1c822a4fca3227671fdd2ddf2171a521e53d3dc8 (diff)
ccxmx53: Allow build without PMIC support.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
-rw-r--r--arch/arm/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 5ba5597ab8fc..63129de3fb56 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -86,7 +86,7 @@ __setup("hlt", hlt_setup);
void arm_machine_restart(char mode, const char *cmd)
{
-#if defined(CONFIG_MODULE_CCXMX53)
+#if defined(CONFIG_MODULE_CCXMX53) && defined(CONFIG_PMIC_DA9052)
// Digi: Need to do this before disabling IRQs
da9053_last_access();
#endif