Commit 9e941b6f authored by Sudeep KarkadaNagesha's avatar Sudeep KarkadaNagesha Committed by Rafael J. Wysocki

ARM: vexpress/TC2: register vexpress-spc cpufreq device

This patch adds vexpress-spc platform device to enables the vexpress
SPC cpufreq interface driver.
Signed-off-by: default avatarSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Acked-by: default avatarPawel Moll <Pawel.Moll@arm.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 47ac9aa1
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/pm_opp.h> #include <linux/pm_opp.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/semaphore.h> #include <linux/semaphore.h>
...@@ -537,6 +538,7 @@ static int __init ve_spc_clk_init(void) ...@@ -537,6 +538,7 @@ static int __init ve_spc_clk_init(void)
pr_warn("failed to initialise cpu%d opp table\n", cpu); pr_warn("failed to initialise cpu%d opp table\n", cpu);
} }
platform_device_register_simple("vexpress-spc-cpufreq", -1, NULL, 0);
return 0; return 0;
} }
module_init(ve_spc_clk_init); module_init(ve_spc_clk_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment