diff options
-rw-r--r-- | patches/collateral-evolutions/media/0004-missing-include/hackrf.patch | 4 | ||||
-rw-r--r-- | patches/collateral-evolutions/media/0006-no-eprobe_defer/v4l2-clk.patch | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/patches/collateral-evolutions/media/0004-missing-include/hackrf.patch b/patches/collateral-evolutions/media/0004-missing-include/hackrf.patch index c55ba889..dfc5a36e 100644 --- a/patches/collateral-evolutions/media/0004-missing-include/hackrf.patch +++ b/patches/collateral-evolutions/media/0004-missing-include/hackrf.patch @@ -6,5 +6,5 @@ #include <media/videobuf2-vmalloc.h> +#include <linux/mm.h> - /* HackRF USB API commands (from HackRF Library) */ - enum { + /* + * Used Avago MGA-81563 RF amplifier could be destroyed pretty easily with too diff --git a/patches/collateral-evolutions/media/0006-no-eprobe_defer/v4l2-clk.patch b/patches/collateral-evolutions/media/0006-no-eprobe_defer/v4l2-clk.patch index 592f5e1c..84984578 100644 --- a/patches/collateral-evolutions/media/0006-no-eprobe_defer/v4l2-clk.patch +++ b/patches/collateral-evolutions/media/0006-no-eprobe_defer/v4l2-clk.patch @@ -1,8 +1,8 @@ --- a/drivers/media/v4l2-core/v4l2-clk.c +++ b/drivers/media/v4l2-core/v4l2-clk.c -@@ -40,8 +40,10 @@ struct v4l2_clk *v4l2_clk_get(struct dev - struct v4l2_clk *clk; +@@ -42,8 +42,10 @@ struct v4l2_clk *v4l2_clk_get(struct dev struct clk *ccf_clk = clk_get(dev, id); + char clk_name[V4L2_CLK_NAME_SIZE]; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0) if (PTR_ERR(ccf_clk) == -EPROBE_DEFER) |