summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
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 /drivers/mfd
parent98325f8f8e950818c306cbc224897a1dda471945 (diff)
downloadlinux-b29c06ae96acc47e866f29d19075707f91df69c8.tar.bz2
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>
Diffstat (limited to 'drivers/mfd')
-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 b59c385cbc12..074b11ffbf41 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