summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.35/009-decompress_unlzo_fix.patch
blob: 482923dfd29c067f7d34f1ecbfa40ce3bcda25ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: linux-2.6.35.7/include/linux/decompress/unlzo_mm.h
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.35.7/include/linux/decompress/unlzo_mm.h	2010-10-23 09:32:04.000000000 +0800
@@ -0,0 +1,10 @@
+#ifndef UNLZO_MM_H
+#define UNLZO_MM_H
+
+#ifdef STATIC
+#define INIT
+#else
+#define INIT __init
+#endif
+
+#endif
Index: linux-2.6.35.7/lib/decompress_unlzo.c
===================================================================
--- linux-2.6.35.7.orig/lib/decompress_unlzo.c	2010-10-23 09:29:09.000000000 +0800
+++ linux-2.6.35.7/lib/decompress_unlzo.c	2010-10-23 09:32:53.000000000 +0800
@@ -39,6 +39,7 @@
 
 #include <linux/types.h>
 #include <linux/lzo.h>
+#include <linux/decompress/unlzo_mm.h>
 #include <linux/decompress/mm.h>
 
 #include <linux/compiler.h>