From: Alan Stern Date: Mon, 30 Jul 2007 21:07:21 +0000 (-0400) Subject: USB: avoid using urb->pipe in usbcore X-Git-Tag: v2.6.24-rc1~1395^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e60a16139c2a48b9876b0ff910671eee5fb32ec;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed