X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fcpuidle%2Fcpuidle-exynos.c;h=b5f0a9cc8185c593688a9b9f75b0ec6547800da3;hb=bed5e4d8294249ea1f05dade879a51733484be42;hp=0c06ea2f50bb906fe44727a534924371b2917c0e;hpb=8f49309a261dbe9b5217908e0e8ee8da7f148695;p=karo-tx-linux.git diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c index 0c06ea2f50bb..b5f0a9cc8185 100644 --- a/drivers/cpuidle/cpuidle-exynos.c +++ b/drivers/cpuidle/cpuidle-exynos.c @@ -116,7 +116,8 @@ static int exynos_cpuidle_probe(struct platform_device *pdev) { int ret; - if (of_machine_is_compatible("samsung,exynos4210")) { + if (IS_ENABLED(CONFIG_SMP) && + of_machine_is_compatible("samsung,exynos4210")) { exynos_cpuidle_pdata = pdev->dev.platform_data; ret = cpuidle_register(&exynos_coupled_idle_driver,