From: Rob Herring <[email protected]>

Add cpuidle support for Calxeda ecx-2000 SoC.

Signed-off-by: Rob Herring <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: [email protected]
---
 drivers/cpuidle/cpuidle-calxeda.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/cpuidle/cpuidle-calxeda.c 
b/drivers/cpuidle/cpuidle-calxeda.c
index b04767a..c6e9d80 100644
--- a/drivers/cpuidle/cpuidle-calxeda.c
+++ b/drivers/cpuidle/cpuidle-calxeda.c
@@ -66,7 +66,9 @@ static struct cpuidle_driver calxeda_idle_driver = {
 
 static int __init calxeda_cpuidle_init(void)
 {
-       if (!of_machine_is_compatible("calxeda,highbank") || 
!psci_ops.cpu_suspend)
+       if (!of_machine_is_compatible("calxeda,highbank") ||
+           !of_machine_is_compatible("calxeda,ecx-2000") ||
+           !psci_ops.cpu_suspend)
                return -ENODEV;
 
        return cpuidle_register(&calxeda_idle_driver, NULL);
-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to