summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2009-01-11 01:21:48 +0100
committerSamuel Ortiz <samuel@sortiz.org>2009-01-11 01:34:25 +0100
commitb29c06ae96acc47e866f29d19075707f91df69c8 (patch)
treed249a5977d44f2b6a06f245175aff8de8082787c
parent98325f8f8e950818c306cbc224897a1dda471945 (diff)
downloadop-kernel-dev-b29c06ae96acc47e866f29d19075707f91df69c8.zip
op-kernel-dev-b29c06ae96acc47e866f29d19075707f91df69c8.tar.gz
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 <sameo@openedhand.com>
-rw-r--r--drivers/mfd/twl4030-core.c3
1 files changed, 3 insertions, 0 deletions
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 <linux/i2c.h>
#include <linux/i2c/twl4030.h>
+#ifdef CONFIG_ARM
+#include <mach/cpu.h>
+#endif
/*
* The TWL4030 "Triton 2" is one of a family of a multi-function "Power
OpenPOWER on IntegriCloud