firmware/br-ext-chip-ingenic/board/t40/kernel/patches/00000-lib_decompress_unlz4....

15 lines
391 B
Diff

diff -drupN a/lib/decompress_unlz4.c b/lib/decompress_unlz4.c
--- a/lib/decompress_unlz4.c 2017-10-21 18:09:07.000000000 +0300
+++ b/lib/decompress_unlz4.c 2022-06-09 05:02:36.000000000 +0300
@@ -10,8 +10,10 @@
#ifdef STATIC
#define PREBOOT
+#define INIT
#include "lz4/lz4_decompress.c"
#else
+#define INIT __init
#include <linux/decompress/unlz4.h>
#endif
#include <linux/types.h>