Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0f12aa03972e797129c79a236d2872f2ee5d25b6
Commit:     0f12aa03972e797129c79a236d2872f2ee5d25b6
Parent:     2ae7745beac6de54a47ed19fe441f1d45aa96172
Author:     Luiz Fernando N. Capitulino <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 26 13:02:51 2006 -0300
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Dec 1 14:23:28 2006 -0800

    USB: hid-core: Use usb_endpoint_* functions
    
    Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/input/hid-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index 5de931c..2c12b04 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_config
                if (hid->collection->usage == HID_GD_MOUSE && 
hid_mousepoll_interval > 0)
                        interval = hid_mousepoll_interval;
 
-               if (endpoint->bEndpointAddress & USB_DIR_IN) {
+               if (usb_endpoint_dir_in(endpoint)) {
                        if (hid->urbin)
                                continue;
                        if (!(hid->urbin = usb_alloc_urb(0, GFP_KERNEL)))
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to