kernel/3.3: remove yaffs support
[openwrt.git] / target / linux / generic / patches-3.3 / 140-ixp4xx_hss_module_h_include.patch
1 From 32e857cd1fbb006f56a99a2eab998173b1576533 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Mon, 10 Sep 2012 10:18:57 +0200
4 Subject: [PATCH net] ixp4xx_hss: fix build failure after logging conversion
5
6 Commit c75bb2c6f0cf455c23e60f14d780e841dd47f801 (ixp4xx_hss: Update to
7 current logging forms) converted the ixp4xx_hss module to use the current
8 logging macros, but forgot to include linux/module.h, leading to the
9 following build failures:
10
11   CC [M]  drivers/net/wan/ixp4xx_hss.o
12  drivers/net/wan/ixp4xx_hss.c:1412:20: error: expected ';', ',' or ')'
13  before string constant
14  drivers/net/wan/ixp4xx_hss.c:1413:25: error: expected ';', ',' or ')'
15  before string constant
16  drivers/net/wan/ixp4xx_hss.c:1414:21: error: expected ';', ',' or ')'
17  before string constant
18  drivers/net/wan/ixp4xx_hss.c:1415:19: error: expected ';', ',' or ')'
19  before string constant
20  make[8]: *** [drivers/net/wan/ixp4xx_hss.o] Error 1
21
22 CC: stable@vger.kernel.org
23 Signed-off-by: Florian Fainelli <florian@openwrt.org>
24 ---
25 [stable: 3.1+]
26
27  drivers/net/wan/ixp4xx_hss.c |    1 +
28  1 file changed, 1 insertion(+)
29
30 --- a/drivers/net/wan/ixp4xx_hss.c
31 +++ b/drivers/net/wan/ixp4xx_hss.c
32 @@ -10,6 +10,7 @@
33  
34  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
35  
36 +#include <linux/module.h>
37  #include <linux/bitops.h>
38  #include <linux/cdev.h>
39  #include <linux/dma-mapping.h>