[PATCH 02/11] backports: add some missing header files

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

 



The hackrf driver needs PAGE_ALIGN() from mm.h.
The ir-hix5hd2 driver needs of_get_property() from of.h.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 .../media/0004-missing-include/hackrf.patch                    | 10 ++++++++++
 .../media/0004-missing-include/ir-hix5hd2.patch                | 10 ++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 patches/collateral-evolutions/media/0004-missing-include/hackrf.patch
 create mode 100644 patches/collateral-evolutions/media/0004-missing-include/ir-hix5hd2.patch

diff --git a/patches/collateral-evolutions/media/0004-missing-include/hackrf.patch b/patches/collateral-evolutions/media/0004-missing-include/hackrf.patch
new file mode 100644
index 0000000..ac0b501
--- /dev/null
+++ b/patches/collateral-evolutions/media/0004-missing-include/hackrf.patch
@@ -0,0 +1,10 @@
+--- a/drivers/media/usb/hackrf/hackrf.c
++++ b/drivers/media/usb/hackrf/hackrf.c
+@@ -22,6 +22,7 @@
+ #include <media/v4l2-ctrls.h>
+ #include <media/v4l2-event.h>
+ #include <media/videobuf2-vmalloc.h>
++#include <linux/mm.h>
+ 
+ /* HackRF USB API commands (from HackRF Library) */
+ enum {
diff --git a/patches/collateral-evolutions/media/0004-missing-include/ir-hix5hd2.patch b/patches/collateral-evolutions/media/0004-missing-include/ir-hix5hd2.patch
new file mode 100644
index 0000000..e7891f8
--- /dev/null
+++ b/patches/collateral-evolutions/media/0004-missing-include/ir-hix5hd2.patch
@@ -0,0 +1,10 @@
+--- a/drivers/media/rc/ir-hix5hd2.c
++++ b/drivers/media/rc/ir-hix5hd2.c
+@@ -15,6 +15,7 @@
+ #include <linux/of_device.h>
+ #include <linux/regmap.h>
+ #include <media/rc-core.h>
++#include <linux/of.h>
+ 
+ /* Allow the driver to compile on all architectures */
+ #ifndef writel_relaxed
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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