[PATCH 05/10] patches: add linux/of.h include to st-nci/spi.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux