Skip to contentSkip to conversation

HID: add USB_HID dependancy to hid-prodikeys

PATCH Applied Greg Kroah-Hartman 2 participants 2 messages Dec 3, 2021 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/hid/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/Kconfig +1 -1
index e9bc8efed5a1..a7c78ac96270 100644
@@ -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.
Signature · 1 line
2.34.1
#1 lore raw
Quoted 10 lines · Greg Kroah-Hartman

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.

---

Applied to for-5.16/upstream-fixes in hid.git

thanks

Cheers,
Benjamin

Quoted 19 lines
 drivers/hid/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/Kconfig +1 -2
index e9bc8efed5a1..a7c78ac96270 100644
@@ -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.
--

2.34.1