summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-03-12 15:01:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 16:13:23 -0700
commit58dea3577c5b7a88a989a511d7bc16514647f472 (patch)
treefbd7a67e6c4c5713fe82fc0c05a539c4a218d4d0 /drivers/tty
parentb19a47e0603ef89c4179e6e48f6dd1ccc7fa3a7c (diff)
downloadop-kernel-dev-58dea3577c5b7a88a989a511d7bc16514647f472.zip
op-kernel-dev-58dea3577c5b7a88a989a511d7bc16514647f472.tar.gz
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')
-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 471dbc1..2a99d0c 100644
--- a/drivers/tty/serial/max310x.c
+++ b/drivers/tty/serial/max310x.c
@@ -27,6 +27,7 @@
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/spi/spi.h>
+#include <linux/uaccess.h>
#define MAX310X_NAME "max310x"
#define MAX310X_MAJOR 204
OpenPOWER on IntegriCloud