summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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