Skip to content

Commit 6cc90cc

Browse files
bentissJiri Kosina
authored andcommitted
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 1f41a6a ("HID: Fix the generic Kconfig options"). Fixes: 25621bc ("HID: Kconfig: split HID support and hid-core compilation") Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 576e619 commit 6cc90cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/bluetooth/hidp/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config BT_HIDP
33
tristate "HIDP protocol support"
4-
depends on BT_BREDR && INPUT
4+
depends on BT_BREDR && INPUT && HID_SUPPORT
55
select HID
66
help
77
HIDP (Human Interface Device Protocol) is a transport layer

0 commit comments

Comments
 (0)