aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/max310x.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-03-12 10:01:54 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 19:13:23 -0400
commit58dea3577c5b7a88a989a511d7bc16514647f472 (patch)
treefbd7a67e6c4c5713fe82fc0c05a539c4a218d4d0 /drivers/tty/serial/max310x.c
parentb19a47e0603ef89c4179e6e48f6dd1ccc7fa3a7c (diff)
serial: max310x: Add missing #include <linux/uaccess.h>
cris allmodconfig: drivers/tty/serial/max310x.c: In function 'max310x_ioctl': drivers/tty/serial/max310x.c:885:3: error: implicit declaration of function 'copy_from_user' [-Werror=implicit-function-declaration] drivers/tty/serial/max310x.c:916:3: error: implicit declaration of function 'copy_to_user' [-Werror=implicit-function-declaration] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/max310x.c')
-rw-r--r--drivers/tty/serial/max310x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c
index 471dbc1e2b58..2a99d0c61b9e 100644
--- a/drivers/tty/serial/max310x.c
+++ b/drivers/tty/serial/max310x.c
@@ -27,6 +27,7 @@
27#include <linux/tty.h> 27#include <linux/tty.h>
28#include <linux/tty_flip.h> 28#include <linux/tty_flip.h>
29#include <linux/spi/spi.h> 29#include <linux/spi/spi.h>
30#include <linux/uaccess.h>
30 31
31#define MAX310X_NAME "max310x" 32#define MAX310X_NAME "max310x"
32#define MAX310X_MAJOR 204 33#define MAX310X_MAJOR 204