HID: add USB_HID dependancy to hid-chicony
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 07:59:27 +0000 (08:59 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 3 Dec 2021 08:15:26 +0000 (09:15 +0100)
The chicony HID driver only controls USB devices, yet did not have a
dependancy on USB_HID.  This causes build errors on some configurations
like sparc when building due to new changes to the chicony driver.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: stable@vger.kernel.org
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211203075927.2829218-1-gregkh@linuxfoundation.org
drivers/hid/Kconfig

index 828c299..e9bc8ef 100644 (file)
@@ -207,7 +207,7 @@ config HID_CHERRY
 
 config HID_CHICONY
        tristate "Chicony devices"
-       depends on HID
+       depends on USB_HID
        default !EXPERT
        help
        Support for Chicony Tactical pad and special keys on Chicony keyboards.