[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1291933655-23130-1-git-send-email-peterhuewe@gmx.de>
Date: Thu, 9 Dec 2010 23:27:35 +0100
From: Peter Huewe <peterhuewe@....de>
To: Greg Kroah-Hartman <gregkh@...e.de>
Cc: Matthew Garrett <mjg@...hat.com>, Jiri Kosina <jkosina@...e.cz>,
Dan Williams <dcbw@...hat.com>, Joe Perches <joe@...ches.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Peter Huewe <peterhuewe@....de>
Subject: [PATCH] serial/usb_wwan: Add missing uaccess.h / fix build failure
This patch fixes a build failure[1] by adding the missing uaccess.h needed
for copy_from_user and copy_to_user
Signed-off-by: Peter Huewe <peterhuewe@....de>
---
KernelVersion: linux-next-20101209
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/3607218/
Used Config:
s3c2410_defconfig
drivers/usb/serial/usb_wwan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index 660b7ca..b004b2a 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -31,6 +31,7 @@
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/bitops.h>
+#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/serial.h>
--
1.7.2.2
--
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