aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-16 19:26:15 +0300
committerRalf Baechle <ralf@linux-mips.org>2008-07-20 14:38:19 +0100
commit5f15d378763e88c361364c0d0ad256d523f2d72f (patch)
treeeee01ff959f89e9177f32d37b539d21949eaa7cb
parentf113c5eda22c349a163ea17ba11bc64727a0f799 (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>
-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 883f59bfa09..e600cedda97 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 */