diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-10-24 22:33:20 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-10-25 11:10:07 +0200 |
commit | f5570308a43f6379a659232ab2c38b5ce083f1a2 (patch) | |
tree | 6a98a0b7e717ed8ed997f856b59abd1fedf35a4f /patches | |
parent | ed1eaefc78126afb57cf657bb883cc0ae1e834f0 (diff) |
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 <hauke@hauke-m.de>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/collateral-evolutions/media/0004-missing-include/hackrf.patch | 10 | ||||
-rw-r--r-- | patches/collateral-evolutions/media/0004-missing-include/ir-hix5hd2.patch | 10 |
2 files changed, 20 insertions, 0 deletions
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 00000000..ac0b501e --- /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 00000000..e7891f8d --- /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 |