]> git.baikalelectronics.ru Git - kernel.git/commit
Input: joystick - fix Kconfig warning for JOYSTICK_ADC
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 4 Nov 2022 20:12:38 +0000 (13:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:09 +0000 (13:32 +0100)
commitc89b4d2e06049981948d33fd52d9ea52b8fa4800
tree21e7c293b2e2643ee4d56d3ffd4abe392599df73
parent0f7a167f701cdf9e5f9c7c2d738823106b54e1b3
Input: joystick - fix Kconfig warning for JOYSTICK_ADC

[ Upstream commit cc77265d7a57e95e096798f41440a16addc5f9cc ]

Fix a Kconfig warning for JOYSTICK_ADC by also selecting
IIO_BUFFER.

WARNING: unmet direct dependencies detected for IIO_BUFFER_CB
  Depends on [n]: IIO [=y] && IIO_BUFFER [=n]
  Selected by [y]:
  - JOYSTICK_ADC [=y] && INPUT [=y] && INPUT_JOYSTICK [=y] && IIO [=y]

Fixes: 9a939f77b529 ("Input: joystick - add ADC attached joystick driver.")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20221104201238.31628-1-rdunlap@infradead.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/Kconfig