From: Jaswinder Singh Rajput Date: Sun, 14 Jun 2009 06:21:12 +0000 (+0530) Subject: headers_check fix: mn10300, setup.h X-Git-Tag: v2.6.31-rc1~337^2 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=0419bb466f5059e40e141b1e3ab258a862ae11f0;p=safe%2Fjmp%2Flinux-2.6 headers_check fix: mn10300, setup.h fix the following 'make headers_check' warnings: usr/include/asm-mn10300/setup.h:14: extern's make no sense in userspace usr/include/asm-mn10300/setup.h:15: extern's make no sense in userspace Signed-off-by: Jaswinder Singh Rajput --- diff --git a/arch/mn10300/include/asm/setup.h b/arch/mn10300/include/asm/setup.h index 08356c8..c229d1e 100644 --- a/arch/mn10300/include/asm/setup.h +++ b/arch/mn10300/include/asm/setup.h @@ -11,7 +11,8 @@ #ifndef _ASM_SETUP_H #define _ASM_SETUP_H +#ifdef __KERNEL__ extern void __init unit_setup(void); extern void __init unit_init_IRQ(void); - +#endif #endif /* _ASM_SETUP_H */