From 8eb4b2d9072125e5dcd00b58cf6edc1d413bc25c Mon Sep 17 00:00:00 2001 From: Oleg Lyovin Date: Thu, 27 Jul 2017 17:45:07 +0300 Subject: [PATCH] drivers/rwbuffer/Kconfig: hide "Buffering" menu with SCHED_WORKQUEUE disabled * The rwbuffer driver depends on workqueue support, which checks at compile time and cause build failure, if workqueues disabled. However, it seems necessary to make "Buffering" menu dependent on SCHED_WORKQUEUE itself. Signed-off-by: Oleg Lyovin --- os/drivers/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/os/drivers/Kconfig b/os/drivers/Kconfig index f699bdc..f277dcb 100644 --- a/os/drivers/Kconfig +++ b/os/drivers/Kconfig @@ -19,6 +19,7 @@ menu "Buffering" config DRVR_WRITEBUFFER bool "Enable write buffer support" + depends on SCHED_WORKQUEUE default n ---help--- Enable generic write buffering support that can be used by a variety -- 2.7.4