stagin/dgrp: include linux/uaccess.h where necessary
PATCH 1/1 stagin/dgrp: include linux/uaccess.h where necessary
Compilation of the dgrp driver fails on ARM because uaccess.h is not included implicitly in three files that need it. Add an explicit #include statement to fix that.
Signed-off-by Arnd Bergmann <[email protected]>
Cc Bill Pemberton <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
drivers/staging/dgrp/dgrp_mon_ops.c +1 -0
@@ -38,6 +38,7 @@#include <linux/sched.h> #include <asm/unaligned.h> #include <linux/proc_fs.h> +#include <linux/uaccess.h> #include "dgrp_common.h"
drivers/staging/dgrp/dgrp_specproc.c +1 -0
@@ -40,6 +40,7 @@#include <linux/ctype.h> #include <linux/seq_file.h> #include <linux/vmalloc.h> +#include <linux/uaccess.h> #include "dgrp_common.h"
drivers/staging/dgrp/dgrp_tty.c +1 -0
@@ -40,6 +40,7 @@#include <linux/tty.h> #include <linux/tty_flip.h> #include <linux/sched.h> +#include <linux/uaccess.h> #include "dgrp_common.h"