HID: add USB_HID dependancy on some USB HID drivers
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Dec 2021 11:48:19 +0000 (12:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Dec 2021 09:57:05 +0000 (10:57 +0100)
commit30d3150d909431fd7424ab8ff4c4c2c795554e30
treefa57376dfdb2ddb8960f5238984e96c899e6ac28
parent8c765cf5f1bccf6d6f945db9c9e3a7602ad8bb46
HID: add USB_HID dependancy on some USB HID drivers

commit f237d9028f844a86955fc9da59d7ac4a5c55d7d5 upstream.

Some HID drivers are only for USB drivers, yet did not depend on
CONFIG_USB_HID.  This was hidden by the fact that the USB functions were
stubbed out in the past, but now that drivers are checking for USB
devices properly, build errors can occur with some random
configurations.

Reported-by: kernel test robot <lkp@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211202114819.2511954-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/Kconfig