# \[PATCH\] HID: add USB\_HID dependancy to hid-prodikeys

- Subsystems: HID CORE LAYER, THE REST
- Maintainers: Jiri Kosina, Benjamin Tissoires, Linus Torvalds
- Status: LANDED (30cb3c2ad24b · 2021-12-03 08:15)
- Landed in mainline as 30cb3c2ad24b on 2021-12-03.
- List: linux-input
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-input/2021/12/8933634/t

## \[PATCH\] HID: add USB\_HID dependancy to hid-prodikeys

- From: Greg Kroah-Hartman \<gregkh@linuxfoundation.org\>
- Date: 2021-12-03 08:12:39 
- Message: https://ratatoskr.run/linux-input/2021/12/8933634.md

```text
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 <redacted>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/hid/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index e9bc8efed5a1..a7c78ac96270 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.
-- 
2.34.1

```

## Re: \[PATCH\] HID: add USB\_HID dependancy to hid-prodikeys

- From: Benjamin Tissoires \<hidden\>
- Date: 2021-12-03 08:43:49 
- Message: https://ratatoskr.run/linux-input/2021/12/8933635.md

```text
On Fri, Dec 3, 2021 at 9:12 AM Greg Kroah-Hartman
[ref] wrote:
>
> 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 <redacted>
> Cc: Jiri Kosina <jikos@kernel.org>
> Cc: Benjamin Tissoires <redacted>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---

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

thanks

Cheers,
Benjamin

>  drivers/hid/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
> index e9bc8efed5a1..a7c78ac96270 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.
> --
> 2.34.1
>

```
