summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-16 18:26:15 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-07-20 15:38:19 +0200
commit5f15d378763e88c361364c0d0ad256d523f2d72f (patch)
treeeee01ff959f89e9177f32d37b539d21949eaa7cb /include/asm-mips
parent[MIPS] Remove include/asm-mips/mips-boards/sead{,int}.h (diff)
downloadlinux-5f15d378763e88c361364c0d0ad256d523f2d72f.tar.xz
linux-5f15d378763e88c361364c0d0ad256d523f2d72f.zip
[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.h2
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 @@
#define COMMAND_LINE_SIZE 256
+#ifdef __KERNEL__
extern void setup_early_printk(void);
+#endif /* __KERNEL__ */
#endif /* __SETUP_H */