HID: holtek: Holtek devices depends on USB_HID
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
@@ -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
Jiri Kosina
AppliedQuoted 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.crelies extensively on usb calls.This fixes compilation error when
CONFIG_USB_SUPPORTis not enabled.
Applied.
Signature · 2 lines
Jiri Kosina SUSE Labs
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.crelies extensively on usb calls.This fixes compilation error when
CONFIG_USB_SUPPORTis not enabled.Signed-off-by Benjamin Tissoires <[email protected]>
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@@ -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
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.crelies extensively on usb calls.
Quoted 8 lines
Quoted 3 lines
This fixes compilation error when
CONFIG_USB_SUPPORTis not enabled.Signed-off-by Benjamin Tissoires <[email protected]>Acked-by Randy Dunlap <[email protected]>but hid-multitouch build still fails (on 3.9-rc1) when
USB_SUPPORTis 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
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.crelies extensively on usb calls.This fixes compilation error when
CONFIG_USB_SUPPORTis not enabled.Signed-off-by Benjamin Tissoires <[email protected]>
Quoted 7 lines
Quoted 4 lines
Acked-by Randy Dunlap <[email protected]>but hid-multitouch build still fails (on 3.9-rc1) when
USB_SUPPORTis not enabled:Are you sure about 3.9-rc1? It has
USB_HIDdependency forHID_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