diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-16 12:26:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-20 09:38:19 -0400 |
commit | 5f15d378763e88c361364c0d0ad256d523f2d72f (patch) | |
tree | eee01ff959f89e9177f32d37b539d21949eaa7cb /include/asm-mips | |
parent | f113c5eda22c349a163ea17ba11bc64727a0f799 (diff) |
[MIPS] don't leak setup_early_printk() in userspace header
Our userspace headers shouldn't contain prototypes of in-kernel
functions.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/setup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/setup.h b/include/asm-mips/setup.h index 883f59bfa097..e600cedda976 100644 --- a/include/asm-mips/setup.h +++ b/include/asm-mips/setup.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #define COMMAND_LINE_SIZE 256 | 4 | #define COMMAND_LINE_SIZE 256 |
5 | 5 | ||
6 | #ifdef __KERNEL__ | ||
6 | extern void setup_early_printk(void); | 7 | extern void setup_early_printk(void); |
8 | #endif /* __KERNEL__ */ | ||
7 | 9 | ||
8 | #endif /* __SETUP_H */ | 10 | #endif /* __SETUP_H */ |