Commit 4ca98d39 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Ralf Baechle

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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3449/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f9ded569
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define _ASM_MODULE_H #define _ASM_MODULE_H
#include <linux/list.h> #include <linux/list.h>
#include <linux/elf.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
struct mod_arch_specific { struct mod_arch_specific {
......
...@@ -60,7 +60,7 @@ struct termio { ...@@ -60,7 +60,7 @@ struct termio {
}; };
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/module.h> #include <asm/uaccess.h>
/* /*
* intr=^C quit=^\ erase=del kill=^U * intr=^C quit=^\ erase=del kill=^U
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment