mirror of https://github.com/OpenIPC/firmware.git
14 lines
355 B
Diff
14 lines
355 B
Diff
diff -drupN a/lib/decompress_unxz.c b/lib/decompress_unxz.c
|
|
--- a/lib/decompress_unxz.c 2017-10-21 18:09:07.000000000 +0300
|
|
+++ b/lib/decompress_unxz.c 2022-06-09 05:02:36.000000000 +0300
|
|
@@ -102,6 +102,9 @@
|
|
*/
|
|
#ifdef STATIC
|
|
# define XZ_PREBOOT
|
|
+# define INIT
|
|
+#else
|
|
+# define INIT __init
|
|
#endif
|
|
#ifdef __KERNEL__
|
|
# include <linux/decompress/mm.h>
|