summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-davinci/patch-2.6.33rc4-psp-to-fix-regulator.patch
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-03-02 17:01:17 +0000
committerKoen Kooi <koen@openembedded.org>2010-04-12 19:43:21 +0200
commitd7c3781f3519d37e90245ace5a242e8b15407ced (patch)
tree694b72e3aad38760d12b1f8f23e067f381b042ba /recipes/linux/linux-davinci/patch-2.6.33rc4-psp-to-fix-regulator.patch
parent36ce129c612a2f8b5774450007a03589cce99687 (diff)
linux-davinci_git: Latest kernel DA8/OMAPL + improved hawkboard support
* Update all omapl kernels to latest commit (da830/da850/hawk) * Add small patch for compile warning if REGULATOR disabled * Hawkboard * Add latest hawkboard patch * Boardfile cleanup * Addition of cpufreq/cpuidle/pm * Updated defconfig to disable regulator/rtc (no battery on hawk) * Start da830 using multi-kernel * Update defconfigs * Only deconfig updated (some configs not rebased, * i.e. no ATA, still using ONDEMAND governor Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/linux/linux-davinci/patch-2.6.33rc4-psp-to-fix-regulator.patch')
-rw-r--r--recipes/linux/linux-davinci/patch-2.6.33rc4-psp-to-fix-regulator.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/linux/linux-davinci/patch-2.6.33rc4-psp-to-fix-regulator.patch b/recipes/linux/linux-davinci/patch-2.6.33rc4-psp-to-fix-regulator.patch
new file mode 100644
index 0000000000..3bd815ea9b
--- /dev/null
+++ b/recipes/linux/linux-davinci/patch-2.6.33rc4-psp-to-fix-regulator.patch
@@ -0,0 +1,31 @@
+From 9e5c1f4e20dfb57eaa0140dc94ff531511e9617f Mon Sep 17 00:00:00 2001
+From: Roger Monk <r-monk@ti.com>
+Date: Tue, 2 Mar 2010 14:00:25 +0000
+Subject: [PATCH] da850 regulator: Protect function prototypes with CONFIG
+
+ * Regulator usage functions are encapsulated in CONFIG_REGULATOR
+ * Function prototypes need the same protection
+
+Signed-off-by: Roger Monk <r-monk@ti.com>
+---
+ arch/arm/mach-davinci/da850.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
+index 65e8a26..cfecd3c 100755
+--- a/arch/arm/mach-davinci/da850.c
++++ b/arch/arm/mach-davinci/da850.c
+@@ -1126,8 +1126,10 @@ static struct cpufreq_frequency_table da850_freq_table[] = {
+ },
+ };
+
++#ifdef CONFIG_REGULATOR
+ static int da850_set_voltage(unsigned int index);
+ static int da850_regulator_init(void);
++#endif
+
+ static struct davinci_cpufreq_config cpufreq_info = {
+ .freq_table = &da850_freq_table[0],
+--
+1.6.0.6
+