LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] usb/core/message.c: scatterlist include fix
@ 2007-10-23 19:37 Helge Deller
  2007-10-24  6:58 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Helge Deller @ 2007-10-23 19:37 UTC (permalink / raw)
  To: Jens Axboe, Linus Torvalds, linux-kernel

This fixes following bug when building for parisc-linux:

drivers/usb/core/message.c: In function `usb_sg_init':
drivers/usb/core/message.c:440: error: implicit declaration of function `sg_virt'

Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c
index 90d64a8..aae0196 100644
--- a/drivers/usb/core/message.c
+++ b/drivers/usb/core/message.c
@@ -13,7 +13,7 @@
 #include <linux/device.h>
 #include <linux/usb/quirks.h>
 #include <asm/byteorder.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 
 #include "hcd.h"	/* for usbcore internals */
 #include "usb.h"

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-24  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-23 19:37 [PATCH] usb/core/message.c: scatterlist include fix Helge Deller
2007-10-24  6:58 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).