summaryrefslogtreecommitdiffstats
path: root/highbank-export-clock-functions.patch
diff options
context:
space:
mode:
authorDennis Gilmore <dennis@ausil.us>2012-03-12 14:54:54 -0500
committerDennis Gilmore <dennis@ausil.us>2012-03-12 14:54:54 -0500
commitd005e8b3eda4e136824058bf82d144c508a7368a (patch)
tree66f370c357c33f50dac6519f7317f638d30a912f /highbank-export-clock-functions.patch
parent25313f2bcf2b779b786b049d49e2240c538f6bb7 (diff)
downloadkernel-d005e8b3eda4e136824058bf82d144c508a7368a.tar.gz
kernel-d005e8b3eda4e136824058bf82d144c508a7368a.tar.xz
kernel-d005e8b3eda4e136824058bf82d144c508a7368a.zip
Create a working config file for highbank and add highbank to the
spec file. Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Diffstat (limited to 'highbank-export-clock-functions.patch')
-rw-r--r--highbank-export-clock-functions.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/highbank-export-clock-functions.patch b/highbank-export-clock-functions.patch
new file mode 100644
index 000000000..f66754d2e
--- /dev/null
+++ b/highbank-export-clock-functions.patch
@@ -0,0 +1,43 @@
+From 81a06eed2491273b7d6d274ae4be1d333c100ab0 Mon Sep 17 00:00:00 2001
+From: Mark Langsdorf <mark.langsdorf@calxeda.com>
+Date: Mon, 12 Mar 2012 06:28:19 -0400
+Subject: [PATCH] highbank: export clock functions
+
+Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
+---
+ arch/arm/mach-highbank/clock.c | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git diff -up linux-3.2-rc4.orig/arch/arm/mach-highbank/clock.c diff -up linux-3.2-rc4/arch/arm/mach-highbank/clock.c
+index c25a2ae..cdbc575 100644
+--- a/arch/arm/mach-highbank/clock.c
++++ b/arch/arm/mach-highbank/clock.c
+@@ -27,14 +27,17 @@ int clk_enable(struct clk *clk)
+ {
+ return 0;
+ }
++EXPORT_SYMBOL_GPL(clk_enable);
+
+ void clk_disable(struct clk *clk)
+ {}
++EXPORT_SYMBOL_GPL(clk_disable);
+
+ unsigned long clk_get_rate(struct clk *clk)
+ {
+ return clk->rate;
+ }
++EXPORT_SYMBOL_GPL(clk_get_rate);
+
+ long clk_round_rate(struct clk *clk, unsigned long rate)
+ {
+@@ -45,6 +48,7 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
+ {
+ return 0;
+ }
++EXPORT_SYMBOL_GPL(clk_set_rate);
+
+ static struct clk eclk = { .rate = 200000000 };
+ static struct clk pclk = { .rate = 150000000 };
+--
+1.7.9.1
+