From f5570308a43f6379a659232ab2c38b5ce083f1a2 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 24 Oct 2014 22:33:20 +0200 Subject: [PATCH] backports: add some missing header files 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 --- .../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 000000000000..ac0b501ef2ef --- /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 + #include + #include ++#include + + /* 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 000000000000..e7891f8da756 --- /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 + #include + #include ++#include + + /* Allow the driver to compile on all architectures */ + #ifndef writel_relaxed -- 2.30.2