bcm27xx: add support for linux v5.15
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-5.15 / 950-0505-staging-mmal-vchiq-Rationalise-included-headers.patch
1 From 2e454c397b0b27a59dfc13d428a82a8098fa1bfb Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Wed, 15 Sep 2021 17:49:41 +0100
4 Subject: [PATCH] staging/mmal-vchiq: Rationalise included headers
5
6 The list of includes was slightly over generic, and wasn't
7 in alphabetical order. Clean it up.
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
10 ---
11 drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c | 9 ++++-----
12 1 file changed, 4 insertions(+), 5 deletions(-)
13
14 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
15 +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
16 @@ -15,16 +15,15 @@
17
18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
19
20 +#include <linux/completion.h>
21 #include <linux/errno.h>
22 #include <linux/kernel.h>
23 +#include <linux/mm.h>
24 #include <linux/module.h>
25 #include <linux/mutex.h>
26 -#include <linux/mm.h>
27 -#include <linux/slab.h>
28 -#include <linux/completion.h>
29 -#include <linux/vmalloc.h>
30 #include <linux/raspberrypi/vchiq.h>
31 -#include <media/videobuf2-vmalloc.h>
32 +#include <linux/vmalloc.h>
33 +#include <media/videobuf2-v4l2.h>
34
35 #include "mmal-common.h"
36 #include "mmal-parameters.h"