Skip to contentSkip to conversation

HID: add USB_HID dependancy to hid-chicony

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-chicony

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.

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

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.

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

thanks

Cheers,
Benjamin

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

2.34.1