projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pm+acpi-4.6-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[deliverable/linux.git]
/
drivers
/
cpufreq
/
sti-cpufreq.c
diff --git
a/drivers/cpufreq/sti-cpufreq.c
b/drivers/cpufreq/sti-cpufreq.c
index a9c659f589747a2140f2b91e0c07cd7fe1cbcb69..04042038ec4b75e78631eda625f0f1bb2a4b4d95 100644
(file)
--- a/
drivers/cpufreq/sti-cpufreq.c
+++ b/
drivers/cpufreq/sti-cpufreq.c
@@
-259,6
+259,10
@@
static int sti_cpufreq_init(void)
{
int ret;
+ if ((!of_machine_is_compatible("st,stih407")) &&
+ (!of_machine_is_compatible("st,stih410")))
+ return -ENODEV;
+
ddata.cpu = get_cpu_device(0);
if (!ddata.cpu) {
dev_err(ddata.cpu, "Failed to get device for CPU0\n");
This page took
0.024774 seconds
and
5
git commands to generate.