]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: avoid using urb->pipe in usbcore
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 30 Jul 2007 21:07:21 +0000 (17:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:00 +0000 (14:55 -0700)
commit5e60a16139c2a48b9876b0ff910671eee5fb32ec
treec85abc5ea81f90cef975368dab0b7059c53f563b
parentfea3409112a93581db18da4c4332c8bf8d68af6b
USB: avoid using urb->pipe in usbcore

This patch (as946) eliminates many of the uses of urb->pipe in
usbcore.  Unfortunately there will have to be a significant API
change, affecting all USB drivers, before we can remove it entirely.
This patch contents itself with changing only the interface to
usb_buffer_map_sg() and friends: The pipe argument is replaced with a
direction flag.  That can be done easily because those routines get
used in only one place.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c
drivers/usb/core/message.c
drivers/usb/core/usb.c
include/linux/usb.h