summaryrefslogtreecommitdiff
path: root/arch/s390/boot/compressed/decompressor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/boot/compressed/decompressor.h')
-rw-r--r--arch/s390/boot/compressed/decompressor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/boot/compressed/decompressor.h b/arch/s390/boot/compressed/decompressor.h
index c15eb7114d83..41f0ad97a4db 100644
--- a/arch/s390/boot/compressed/decompressor.h
+++ b/arch/s390/boot/compressed/decompressor.h
@@ -2,8 +2,10 @@
#ifndef BOOT_COMPRESSED_DECOMPRESSOR_H
#define BOOT_COMPRESSED_DECOMPRESSOR_H
+#include <linux/stddef.h>
+
#ifdef CONFIG_KERNEL_UNCOMPRESSED
-static inline void *decompress_kernel(void) {}
+static inline void *decompress_kernel(void) { return NULL; }
#else
void *decompress_kernel(void);
#endif