Turn on DISABLE_POLL when NFILE_DESCRIPTORS = 0
When NFILE_DESCRIPTORS = 0, set DISABLE_POLL to y and make it
invisible.
config DISABLE_POLL
- bool "Disable driver poll interfaces"
- default n
+ bool
+ prompt "Disable driver poll interfaces" if NFILE_DESCRIPTORS != 0
+ default n if NFILE_DESCRIPTORS != 0
+ default y if NFILE_DESCRIPTORS = 0
---help---
The sizes of drivers can be reduced if the poll() method is not
supported. If you do not use poll() or select(), then you can
