Skip to content

Commit 0419bb4

Browse files
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 <[email protected]>
1 parent c14e1a1 commit 0419bb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/mn10300/include/asm/setup.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
#ifndef _ASM_SETUP_H
1212
#define _ASM_SETUP_H
1313

14+
#ifdef __KERNEL__
1415
extern void __init unit_setup(void);
1516
extern void __init unit_init_IRQ(void);
16-
17+
#endif
1718
#endif /* _ASM_SETUP_H */

0 commit comments

Comments
 (0)