From: Greg Kroah-Hartman Date: Fri, 3 Dec 2021 08:12:31 +0000 (+0100) Subject: HID: add USB_HID dependancy to hid-prodikeys X-Git-Tag: v6.1-rc5~2290^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30cb3c2ad24b66fb7639a6d1f4390c74d6e68f94;p=platform%2Fkernel%2Flinux-starfive.git HID: add USB_HID dependancy to hid-prodikeys The prodikeys HID driver only controls USB devices, yet did not have a dependancy on USB_HID. This causes build errors on some configurations like nios2 when building due to new changes to the prodikeys driver. Reported-by: kernel test robot Cc: stable@vger.kernel.org Cc: Jiri Kosina Cc: Benjamin Tissoires Signed-off-by: Greg Kroah-Hartman Signed-off-by: Benjamin Tissoires Link: https://lore.kernel.org/r/20211203081231.2856936-1-gregkh@linuxfoundation.org --- diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e9bc8ef..a7c78ac 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -245,7 +245,7 @@ config HID_MACALLY config HID_PRODIKEYS tristate "Prodikeys PC-MIDI Keyboard support" - depends on HID && SND + depends on USB_HID && SND select SND_RAWMIDI help Support for Prodikeys PC-MIDI Keyboard device support.