kernel/3.1[02]: move MTD root device setup code to mtdcore
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.10 / 960-decompress_unlzo_fix.patch
1 --- /dev/null
2 +++ b/include/linux/decompress/unlzo_mm.h
3 @@ -0,0 +1,10 @@
4 +#ifndef UNLZO_MM_H
5 +#define UNLZO_MM_H
6 +
7 +#ifdef STATIC
8 +#define INIT
9 +#else
10 +#define INIT __init
11 +#endif
12 +
13 +#endif
14 --- a/lib/decompress_unlzo.c
15 +++ b/lib/decompress_unlzo.c
16 @@ -38,6 +38,7 @@
17
18 #include <linux/types.h>
19 #include <linux/lzo.h>
20 +#include <linux/decompress/unlzo_mm.h>
21 #include <linux/decompress/mm.h>
22
23 #include <linux/compiler.h>