projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98325f8
)
mfd: Fix twl4030-core build
author
Samuel Ortiz
<sameo@openedhand.com>
Sun, 11 Jan 2009 00:21:48 +0000
(
01:21
+0100)
committer
Samuel Ortiz
<samuel@sortiz.org>
Sun, 11 Jan 2009 00:34:25 +0000
(
01:34
+0100)
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>
drivers/mfd/twl4030-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/twl4030-core.c
b/drivers/mfd/twl4030-core.c
index b59c385cbc12f98bc319845d719fc83e518c8dc0..074b11ffbf41330efc0c74ea81f5b45656775586 100644
(file)
--- 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