From: Paul Gortmaker Date: Tue, 20 Sep 2011 01:15:28 +0000 (-0400) Subject: sparc: fix implicit use of uaccess.h header in mdesc.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cd66bc4539670cadc8442b507f9d5f1a98ce8b7d;p=linux-beck.git 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 --- 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 #include #include +#include #include #include