Skip to content

Commit

Permalink
MIPS: Delete bogus module.h usage in termios.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker authored and Ralf Baechle committed May 15, 2012
1 parent f9ded56 commit 4ca98d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/mips/include/asm/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _ASM_MODULE_H

#include <linux/list.h>
#include <linux/elf.h>
#include <asm/uaccess.h>

struct mod_arch_specific {
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/include/asm/termios.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct termio {
};

#ifdef __KERNEL__
#include <linux/module.h>
#include <asm/uaccess.h>

/*
* intr=^C quit=^\ erase=del kill=^U
Expand Down

0 comments on commit 4ca98d3

Please sign in to comment.