summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-28 19:24:47 -0500
committerRalf Baechle <ralf@linux-mips.org>2012-05-15 17:48:51 +0200
commit4ca98d399e66899222f1d457731b7857e85e09f1 (patch)
tree5d777d65ae6108073dcf52e9ab32f5763c6706d0 /arch
parentf9ded5692c96bae085713bf25558bd932fefeb7f (diff)
downloadop-kernel-dev-4ca98d399e66899222f1d457731b7857e85e09f1.zip
op-kernel-dev-4ca98d399e66899222f1d457731b7857e85e09f1.tar.gz
MIPS: Delete bogus module.h usage in termios.h
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/asm/module.h1
-rw-r--r--arch/mips/include/asm/termios.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/module.h b/arch/mips/include/asm/module.h
index 7467d1d..5300080 100644
--- a/arch/mips/include/asm/module.h
+++ b/arch/mips/include/asm/module.h
@@ -2,6 +2,7 @@
#define _ASM_MODULE_H
#include <linux/list.h>
+#include <linux/elf.h>
#include <asm/uaccess.h>
struct mod_arch_specific {
diff --git a/arch/mips/include/asm/termios.h b/arch/mips/include/asm/termios.h
index 8f77f77..abdd87a 100644
--- a/arch/mips/include/asm/termios.h
+++ b/arch/mips/include/asm/termios.h
@@ -60,7 +60,7 @@ struct termio {
};
#ifdef __KERNEL__
-#include <linux/module.h>
+#include <asm/uaccess.h>
/*
* intr=^C quit=^\ erase=del kill=^U
OpenPOWER on IntegriCloud