Skip to content

Commit

Permalink
ARM: vexpress/TC2: register vexpress-spc cpufreq device
Browse files Browse the repository at this point in the history
This patch adds vexpress-spc platform device to enables the vexpress
SPC cpufreq interface driver.

Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Acked-by: Pawel Moll <Pawel.Moll@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Sudeep KarkadaNagesha authored and Rafael J. Wysocki committed Oct 29, 2013
1 parent 47ac9aa commit 9e941b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-vexpress/spc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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);

0 comments on commit 9e941b6

Please sign in to comment.