aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>2006-10-26 12:02:51 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 17:23:28 -0500
commit0f12aa03972e797129c79a236d2872f2ee5d25b6 (patch)
treeefb467af5e4d199ce67690a7e8d7d671c838fb31 /drivers
parent2ae7745beac6de54a47ed19fe441f1d45aa96172 (diff)
USB: hid-core: Use usb_endpoint_* functions
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/input/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index 5de931cf4cfb..2c12b04da111 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -1998,7 +1998,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf)
1998 if (hid->collection->usage == HID_GD_MOUSE && hid_mousepoll_interval > 0) 1998 if (hid->collection->usage == HID_GD_MOUSE && hid_mousepoll_interval > 0)
1999 interval = hid_mousepoll_interval; 1999 interval = hid_mousepoll_interval;
2000 2000
2001 if (endpoint->bEndpointAddress & USB_DIR_IN) { 2001 if (usb_endpoint_dir_in(endpoint)) {
2002 if (hid->urbin) 2002 if (hid->urbin)
2003 continue; 2003 continue;
2004 if (!(hid->urbin = usb_alloc_urb(0, GFP_KERNEL))) 2004 if (!(hid->urbin = usb_alloc_urb(0, GFP_KERNEL)))