serial/usb_wwan: Add missing uaccess.h / fix build failure
Subsystems (2)
PATCH 1/1 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 <[email protected]>
---
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(-)
drivers/usb/serial/usb_wwan.c +1 -0
@@ -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>
Signature · 1 line
1.7.2.2
Hello.
Quoted 1 line · Peter Huewe
This patch fixes a build failure[1]
You reference will be lost when the patch is applied, as it's below the
tearline.
Quoted 11 lines
by adding the missing
uaccess.hneeded
forcopy_from_userandcopy_to_userSigned-off-by Peter Huewe<[email protected]>---
KernelVersion: linux-next-20101209References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/3607218/
Used Config:s3c2410_defconfig
WBR, Sergei