]> git.karo-electronics.de Git - linux-beck.git/commitdiff
MIPS: Delete bogus module.h usage in termios.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 29 Feb 2012 00:24:47 +0000 (19:24 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:48:51 +0000 (17:48 +0200)
There is no need for this.  Removing it causes a small amount of fallout
(shown below) due to a few implicit header presence assumptions that are
easily fixed.

arch/mips/include/asm/termios.h:103: error: implicit declaration of function 'access_ok'
arch/mips/include/asm/module.h:17: error: expected specifier-qualifier-list before 'Elf64_Addr'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3449/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/module.h
arch/mips/include/asm/termios.h

index 7467d1d933d54a0eba29fe93465b78c26ade6108..530008048c6227fb653ccb8b66b0319c442ce8ea 100644 (file)
@@ -2,6 +2,7 @@
 #define _ASM_MODULE_H
 
 #include <linux/list.h>
+#include <linux/elf.h>
 #include <asm/uaccess.h>
 
 struct mod_arch_specific {
index 8f77f774a2a01e3b70fee2bae89a1b036c89fc6f..abdd87aaf609034742f0401e9846ea4ba2bd2ced 100644 (file)
@@ -60,7 +60,7 @@ struct termio {
 };
 
 #ifdef __KERNEL__
-#include <linux/module.h>
+#include <asm/uaccess.h>
 
 /*
  *     intr=^C         quit=^\         erase=del       kill=^U