From b29c06ae96acc47e866f29d19075707f91df69c8 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Sun, 11 Jan 2009 01:21:48 +0100 Subject: [PATCH] mfd: Fix twl4030-core build Fixes: drivers/mfd/twl4030-core.c:657: error: implicit declaration of function 'cpu_is_omap2430' Not the nicest fix, but this should be improved by a better OMAP clock API implementation. Signed-off-by: Samuel Ortiz --- drivers/mfd/twl4030-core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c index b59c385..074b11f 100644 --- a/drivers/mfd/twl4030-core.c +++ b/drivers/mfd/twl4030-core.c @@ -38,6 +38,9 @@ #include #include +#ifdef CONFIG_ARM +#include +#endif /* * The TWL4030 "Triton 2" is one of a family of a multi-function "Power -- 2.7.4