]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hid/usbhid/usbmouse.c
HID: fix quirk handling in usbmouse/kbd
[linux-2.6-omap-h63xx.git] / drivers / hid / usbhid / usbmouse.c
index 703e9d0e871460df091ce77d8cd35697a09424e3..f74740f928086bd18172c3b454cfd1e90163218a 100644 (file)
@@ -129,7 +129,7 @@ static int usb_mouse_probe(struct usb_interface *intf, const struct usb_device_i
        if (!usb_endpoint_is_int_in(endpoint))
                return -ENODEV;
 
-#ifdef CONFIG_USB_HID
+#ifdef CONFIG_USB_HID_MODULE
        if (usbhid_lookup_quirk(le16_to_cpu(dev->descriptor.idVendor),
                                le16_to_cpu(dev->descriptor.idProduct))
                        & (HID_QUIRK_IGNORE|HID_QUIRK_IGNORE_MOUSE)) {