[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200710232137.55661.deller@gmx.de>
Date: Tue, 23 Oct 2007 21:37:55 +0200
From: Helge Deller <deller@....de>
To: Jens Axboe <jens.axboe@...cle.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] usb/core/message.c: scatterlist include fix
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@....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"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists