The st-nci/spi.c driver uses some methods from linux/of.h, but does not explicitly include this file. This is no problem on recent kernel version, because this file gets included indirectly, on kernel 3.2 it does not get included indirectly. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- .../network/0013-fix-makefile-includes/st-nci-spi.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 patches/collateral-evolutions/network/0013-fix-makefile-includes/st-nci-spi.patch diff --git a/patches/collateral-evolutions/network/0013-fix-makefile-includes/st-nci-spi.patch b/patches/collateral-evolutions/network/0013-fix-makefile-includes/st-nci-spi.patch new file mode 100644 index 0000000..b0ff25b --- /dev/null +++ b/patches/collateral-evolutions/network/0013-fix-makefile-includes/st-nci-spi.patch @@ -0,0 +1,10 @@ +--- a/drivers/nfc/st-nci/spi.c ++++ b/drivers/nfc/st-nci/spi.c +@@ -20,6 +20,7 @@ + #include <linux/module.h> + #include <linux/spi/spi.h> + #include <linux/gpio.h> ++#include <linux/of.h> + #include <linux/of_irq.h> + #include <linux/of_gpio.h> + #include <linux/interrupt.h> -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in