LKML Archive on
help / color / mirror / Atom feed
From: Helge Deller <>
To: Jens Axboe <>,
	Linus Torvalds <>,
Subject: [PATCH] usb/core/message.c: scatterlist include fix
Date: Tue, 23 Oct 2007 21:37:55 +0200	[thread overview]
Message-ID: <> (raw)

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 <>

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"

             reply	other threads:[~2007-10-23 19:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 19:37 Helge Deller [this message]
2007-10-24  6:58 ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] usb/core/message.c: scatterlist include fix' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).