diff options
-rw-r--r-- | arch/hexagon/include/uapi/asm/setup.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/hexagon/include/uapi/asm/setup.h b/arch/hexagon/include/uapi/asm/setup.h index e48285e4af96..7e3952d6221c 100644 --- a/arch/hexagon/include/uapi/asm/setup.h +++ b/arch/hexagon/include/uapi/asm/setup.h | |||
@@ -19,7 +19,12 @@ | |||
19 | #ifndef _ASM_SETUP_H | 19 | #ifndef _ASM_SETUP_H |
20 | #define _ASM_SETUP_H | 20 | #define _ASM_SETUP_H |
21 | 21 | ||
22 | #ifdef __KERNEL__ | ||
22 | #include <linux/init.h> | 23 | #include <linux/init.h> |
24 | #else | ||
25 | #define __init | ||
26 | #endif | ||
27 | |||
23 | #include <asm-generic/setup.h> | 28 | #include <asm-generic/setup.h> |
24 | 29 | ||
25 | extern char external_cmdline_buffer; | 30 | extern char external_cmdline_buffer; |