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>
--- /dev/null
+--- 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 {
--- /dev/null
+--- 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