summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-09-21 21:55:04 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2015-09-22 23:15:55 +0200
commit74f85ccc3bf519ef158b939a31b927b27f25c88f (patch)
tree2700d5e8deeaa25bce496055957edf20554cb771 /patches/collateral-evolutions
parent135c9409a7932c346354b865d41ff4e754373be6 (diff)
patches: add linux/of.h include to st-nci/spi.c
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@hauke-m.de>
Diffstat (limited to 'patches/collateral-evolutions')
-rw-r--r--patches/collateral-evolutions/network/0013-fix-makefile-includes/st-nci-spi.patch10
1 files changed, 10 insertions, 0 deletions
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 00000000..b0ff25b9
--- /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>