lkml.org 
[lkml]   [2021]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] drivers/clocksource: Fixup csky,mpintc compile error with CPU_CK610
Date
From: Guo Ren <guoren@linux.alibaba.com>

The timer-mp-csky.c only could support CPU_CK860 and it will
compile error with CPU_CK610.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
drivers/clocksource/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 14c7c4712478..f773ecacb5f9 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -663,7 +663,7 @@ config CLINT_TIMER

config CSKY_MP_TIMER
bool "SMP Timer for the C-SKY platform" if COMPILE_TEST
- depends on CSKY
+ depends on CSKY && CPU_CK860
select TIMER_OF
help
Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP
--
2.17.1
\
 
 \ /
  Last update: 2021-02-03 14:53    [W:0.059 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site