Skip to content

Commit

Permalink
[MIPS] don't leak setup_early_printk() in userspace header
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Ralf Baechle committed Jul 20, 2008
1 parent f113c5e commit 5f15d37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-mips/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#define COMMAND_LINE_SIZE 256

#ifdef __KERNEL__
extern void setup_early_printk(void);
#endif /* __KERNEL__ */

#endif /* __SETUP_H */

0 comments on commit 5f15d37

Please sign in to comment.