Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
[linux-2.6-microblaze.git] / drivers / cpuidle / cpuidle-big_little.c
index e3e225f..40c34fa 100644 (file)
@@ -182,6 +182,10 @@ static int __init bl_idle_init(void)
         */
        if (!of_match_node(compatible_machine_match, root))
                return -ENODEV;
+
+       if (!mcpm_is_available())
+               return -EUNATCH;
+
        /*
         * For now the differentiation between little and big cores
         * is based on the part number. A7 cores are considered little