HID: fix BT_HIDP Kconfig dependencies
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 18 Nov 2022 08:42:54 +0000 (09:42 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 Nov 2022 17:36:19 +0000 (18:36 +0100)
commit6cc90ccd4f6cfed98e2a3a378debc69f28d57473
tree34b417efbbb6d9b30851be64920991a0cd597907
parent576e619ba4a47329bf55ada2d184e72529793fbd
HID: fix BT_HIDP Kconfig dependencies

If HID_SUPPORT is not selected, BT_HIDP should not be available, simply
because we disallowed the HID bus entirely.

Add a new depends and actually revert this file back to where it was 10
years ago before it was changed by commit 1f41a6a99476 ("HID: Fix the
generic Kconfig options").

Fixes: 25621bcc8976 ("HID: Kconfig: split HID support and hid-core compilation")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/202211181514.fLhaiS7o-lkp@intel.com/
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
net/bluetooth/hidp/Kconfig