summaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-06-14 11:51:12 +0530
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-06-14 11:51:12 +0530
commit0419bb466f5059e40e141b1e3ab258a862ae11f0 (patch)
tree98271916fac9470b281e2a31ad7ec790fbda979b /arch/mn10300
parentc14e1a13b77e0c9cbae7c356ee13af4fc3064428 (diff)
downloadop-kernel-dev-0419bb466f5059e40e141b1e3ab258a862ae11f0.zip
op-kernel-dev-0419bb466f5059e40e141b1e3ab258a862ae11f0.tar.gz
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 <jaswinderrajput@gmail.com>
Diffstat (limited to 'arch/mn10300')
-rw-r--r--arch/mn10300/include/asm/setup.h3
1 files changed, 2 insertions, 1 deletions
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 */
OpenPOWER on IntegriCloud