From aa5f4744ea64bed588c01e50c3b8794e696cc313 Mon Sep 17 00:00:00 2001 From: Pavankumar Kondeti Date: Fri, 5 Feb 2021 09:35:52 +0530 Subject: [PATCH] sched/walt: Make debug module depend on SCHED_WALT sched-walt-debug module does not get compiled unless SCHED_WALT config is turned on. However the config corresponding to the debug module shows in menuconfig even without enabling SCHED_WALT. Fix this by specifying the dependency in the Kconfig. Change-Id: Ie466c0ca11bbcdec43af2624c3631ddff5c77024 Signed-off-by: Pavankumar Kondeti --- kernel/sched/walt/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/walt/Kconfig b/kernel/sched/walt/Kconfig index db60efdf4c8d..b9b2422f26f0 100644 --- a/kernel/sched/walt/Kconfig +++ b/kernel/sched/walt/Kconfig @@ -15,6 +15,7 @@ config SCHED_WALT config SCHED_WALT_DEBUG tristate "WALT debug module" + depends on SCHED_WALT select TRACE_PREEMPT_TOGGLE select TRACE_IRQFLAGS help