headers_check fix: mn10300, setup.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 14 Jun 2009 06:21:12 +0000 (11:51 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 14 Jun 2009 06:21:12 +0000 (11:51 +0530)
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 <jaswinderrajput@gmail.com>
arch/mn10300/include/asm/setup.h

index 08356c83228329835a153bd18160af0650bbdb0d..c229d1e3f9990a6ed483e24c9e1d8b5035e4e427 100644 (file)
@@ -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 */