Commit 5f90dcfa authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Jiri Kosina
Browse files

HID: quirks: really enable the intended work around for appledisplay



Commit c7fabe4a ("HID: quirks: work around VID/PID conflict for
appledisplay") intends to add a quirk for kernels built with Apple Cinema
Display support, but it refers to the non-existing config option
CONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display
support is named CONFIG_USB_APPLEDISPLAY.

Refer to the intended config option CONFIG_USB_APPLEDISPLAY in the ifdef
directive.

Fixes: c7fabe4a ("HID: quirks: work around VID/PID conflict for appledisplay")
Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent 17ee873d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ static const struct hid_device_id hid_quirks[] = {
 * used as a driver. See hid_scan_report().
 */
static const struct hid_device_id hid_have_special_driver[] = {
#if IS_ENABLED(CONFIG_APPLEDISPLAY)
#if IS_ENABLED(CONFIG_USB_APPLEDISPLAY)
	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9218) },
	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9219) },
	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921c) },