projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ac9aa
)
ARM: vexpress/TC2: register vexpress-spc cpufreq device
author
Sudeep KarkadaNagesha
<
[email protected]
>
Tue, 29 Oct 2013 12:18:40 +0000
(12:18 +0000)
committer
Rafael J. Wysocki
<
[email protected]
>
Tue, 29 Oct 2013 23:48:26 +0000
(
00:48
+0100)
This patch adds vexpress-spc platform device to enables the vexpress
SPC cpufreq interface driver.
Signed-off-by: Sudeep KarkadaNagesha <
[email protected]
>
Acked-by: Pawel Moll <
[email protected]
>
Acked-by: Viresh Kumar <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
arch/arm/mach-vexpress/spc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-vexpress/spc.c
b/arch/arm/mach-vexpress/spc.c
index 3532e26c9117c1581b6e2e9f01c48de406606abe..033d34dcbd3fb8a8e1325900ddecdeb64090e874 100644
(file)
--- a/
arch/arm/mach-vexpress/spc.c
+++ b/
arch/arm/mach-vexpress/spc.c
@@
-24,6
+24,7
@@
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/io.h>
+#include <linux/platform_device.h>
#include <linux/pm_opp.h>
#include <linux/slab.h>
#include <linux/semaphore.h>
@@
-537,6
+538,7
@@
static int __init ve_spc_clk_init(void)
pr_warn("failed to initialise cpu%d opp table\n", cpu);
}
+ platform_device_register_simple("vexpress-spc-cpufreq", -1, NULL, 0);
return 0;
}
module_init(ve_spc_clk_init);