drivers/rwbuffer/Kconfig: hide "Buffering" menu with SCHED_WORKQUEUE disabled
authorOleg Lyovin <o.lyovin@partner.samsung.com>
Thu, 27 Jul 2017 14:45:07 +0000 (17:45 +0300)
committerOleg Lyovin <o.lyovin@partner.samsung.com>
Mon, 21 Aug 2017 07:53:38 +0000 (10:53 +0300)
* 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 <o.lyovin@partner.samsung.com>
os/drivers/Kconfig

index f699bdc..f277dcb 100644 (file)
@@ -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