Skip to contentSkip to conversation

HID: holtek: Holtek devices depends on USB_HID

PATCH Applied Benjamin Tissoires 3 participants 5 messages Mar 7, 2013 – Mar 8, 2013 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: holtek: Holtek devices depends on USB_HID

In the HID drivers tranport cleanup series, I removed the dependency between hid-holtek and usbhid. This was wrong as hid-holtek.c relies extensively on usb calls.

This fixes compilation error when CONFIG_USB_SUPPORT is not enabled.

---
 drivers/hid/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/Kconfig +1 -1
index 3abb11f..613083a 100644
@@ -215,7 +215,7 @@ config HID_EZKEY
 
 config HID_HOLTEK
 	tristate "Holtek HID devices"
-	depends on HID
+	depends on USB_HID
 	---help---
 	Support for Holtek based devices:
 	  - Holtek On Line Grip based game controller
Signature · 1 line
1.8.1.4
Applied
#1 lore raw
Quoted 5 lines · Benjamin Tissoires

In the HID drivers tranport cleanup series, I removed the dependency between hid-holtek and usbhid. This was wrong as hid-holtek.c relies extensively on usb calls.

This fixes compilation error when CONFIG_USB_SUPPORT is not enabled.

Applied.

Signature · 2 lines
Jiri Kosina
SUSE Labs
Acked-by on v1 1/1
#2 lore raw
In reply to Benjamin Tissoires
Quoted 7 lines · Benjamin Tissoires

In the HID drivers tranport cleanup series, I removed the dependency between hid-holtek and usbhid. This was wrong as hid-holtek.c relies extensively on usb calls.

This fixes compilation error when CONFIG_USB_SUPPORT is not enabled.

but hid-multitouch build still fails (on 3.9-rc1) when USB_SUPPORT is not enabled:

ERROR: "usb_control_msg" [drivers/hid/hid-multitouch.ko] undefined!

Quoted 18 lines
---
 drivers/hid/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/Kconfig +1 -1
index 3abb11f..613083a 100644
@@ -215,7 +215,7 @@ config HID_EZKEY
 
 config HID_HOLTEK
 	tristate "Holtek HID devices"
-	depends on HID
+	depends on USB_HID
 	---help---
 	Support for Holtek based devices:
 	  - Holtek On Line Grip based game controller
Signature · 1 line
~Randy
#3 lore raw
Quoted 4 lines · Randy Dunlap
Quoted 4 lines

In the HID drivers tranport cleanup series, I removed the dependency between hid-holtek and usbhid. This was wrong as hid-holtek.c relies extensively on usb calls.

Quoted 8 lines
Quoted 3 lines

This fixes compilation error when CONFIG_USB_SUPPORT is not enabled.

but hid-multitouch build still fails (on 3.9-rc1) when USB_SUPPORT is not enabled:

Are you sure about 3.9-rc1? It has USB_HID dependency for HID_MUTLTIOUCH, hence that shouldn't be a problem.

There used to be a problem in linux-next, but that should be fixed by 4ba25d3f87 ("HID: multitouch: remove last usb dependency"), which I have pushed out yesterday.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#4 lore raw
Quoted 10 lines · Jiri Kosina
Quoted 8 lines · Randy Dunlap
Quoted 7 lines

In the HID drivers tranport cleanup series, I removed the dependency between hid-holtek and usbhid. This was wrong as hid-holtek.c relies extensively on usb calls.

This fixes compilation error when CONFIG_USB_SUPPORT is not enabled.

Quoted 7 lines
Quoted 4 lines

but hid-multitouch build still fails (on 3.9-rc1) when USB_SUPPORT is not enabled:

Are you sure about 3.9-rc1? It has USB_HID dependency for HID_MUTLTIOUCH, hence that shouldn't be a problem.

You are correct. I was testing 3.9-rc1 + mmotm, where the latter contains some incorrect HID patches (from linux-next).

Thanks.

Quoted 4 lines

There used to be a problem in linux-next, but that should be fixed by 4ba25d3f87 ("HID: multitouch: remove last usb dependency"), which I have pushed out yesterday.

Signature · 1 line
~Randy