summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/mdesc.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-09-20 03:15:28 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:30:52 +0100
commitcd66bc4539670cadc8442b507f9d5f1a98ce8b7d (patch)
tree808815f4ddd9541e8549b228e9e46d29fa80af6a /arch/sparc/kernel/mdesc.c
parentsparc: fix implicit use of spitfire.h in pcr.c and of_device_64.c (diff)
downloadlinux-cd66bc4539670cadc8442b507f9d5f1a98ce8b7d.tar.xz
linux-cd66bc4539670cadc8442b507f9d5f1a98ce8b7d.zip
sparc: fix implicit use of uaccess.h header in mdesc.c
Building sparc64 with the module.h cleanup reveals this implicit include being taken advantage of: arch/sparc/kernel/mdesc.c: In function 'mdesc_read': arch/sparc/kernel/mdesc.c:900: error: implicit declaration of function 'copy_to_user' Fix it up before the implicit module.h presence is removed. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/sparc/kernel/mdesc.c')
-rw-r--r--arch/sparc/kernel/mdesc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/mdesc.c b/arch/sparc/kernel/mdesc.c
index acaebb63c4fd..ea6d4d6c02f6 100644
--- a/arch/sparc/kernel/mdesc.c
+++ b/arch/sparc/kernel/mdesc.c
@@ -16,6 +16,7 @@
#include <asm/hypervisor.h>
#include <asm/mdesc.h>
#include <asm/prom.h>
+#include <asm/uaccess.h>
#include <asm/oplib.h>
#include <asm/smp.h>