1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 13:42:05 +02:00
openwrt-xburst/target/linux/generic/patches-3.2/960-decompress_unlzo_fix.patch

24 lines
423 B
Diff
Raw Normal View History

--- /dev/null
+++ b/include/linux/decompress/unlzo_mm.h
@@ -0,0 +1,10 @@
+#ifndef UNLZO_MM_H
+#define UNLZO_MM_H
+
+#ifdef STATIC
+#define INIT
+#else
+#define INIT __init
+#endif
+
+#endif
--- a/lib/decompress_unlzo.c
+++ b/lib/decompress_unlzo.c
@@ -38,6 +38,7 @@
#include <linux/types.h>
#include <linux/lzo.h>
+#include <linux/decompress/unlzo_mm.h>
#include <linux/decompress/mm.h>
#include <linux/compiler.h>