bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0359-hack-fixup-bcm2835-unicam.patch
1 From 2320a8d1a847d31ffa678ad61970c138dd626113 Mon Sep 17 00:00:00 2001
2 From: Dom Cobley <popcornmix@gmail.com>
3 Date: Wed, 17 Mar 2021 12:45:53 +0000
4 Subject: [PATCH] hack: fixup bcm2835-unicam
5
6 ---
7 drivers/media/platform/bcm2835/bcm2835-unicam.c | 3 +++
8 1 file changed, 3 insertions(+)
9
10 --- a/drivers/media/platform/bcm2835/bcm2835-unicam.c
11 +++ b/drivers/media/platform/bcm2835/bcm2835-unicam.c
12 @@ -72,6 +72,9 @@
13 #include <media/v4l2-fwnode.h>
14 #include <media/videobuf2-dma-contig.h>
15
16 +#include <media/v4l2-async.h>
17 +#define v4l2_async_notifier_add_subdev __v4l2_async_notifier_add_subdev
18 +
19 #include "vc4-regs-unicam.h"
20
21 #define UNICAM_MODULE_NAME "unicam"