diff options
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0505-staging-mmal-vchiq-Rationalise-included-headers.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.15/950-0505-staging-mmal-vchiq-Rationalise-included-headers.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0505-staging-mmal-vchiq-Rationalise-included-headers.patch b/target/linux/bcm27xx/patches-5.15/950-0505-staging-mmal-vchiq-Rationalise-included-headers.patch new file mode 100644 index 0000000000..cb7634614a --- /dev/null +++ b/target/linux/bcm27xx/patches-5.15/950-0505-staging-mmal-vchiq-Rationalise-included-headers.patch @@ -0,0 +1,36 @@ +From 2e454c397b0b27a59dfc13d428a82a8098fa1bfb Mon Sep 17 00:00:00 2001 +From: Dave Stevenson <dave.stevenson@raspberrypi.com> +Date: Wed, 15 Sep 2021 17:49:41 +0100 +Subject: [PATCH] staging/mmal-vchiq: Rationalise included headers + +The list of includes was slightly over generic, and wasn't +in alphabetical order. Clean it up. + +Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> +--- + drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +--- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c ++++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c +@@ -15,16 +15,15 @@ + + #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + ++#include <linux/completion.h> + #include <linux/errno.h> + #include <linux/kernel.h> ++#include <linux/mm.h> + #include <linux/module.h> + #include <linux/mutex.h> +-#include <linux/mm.h> +-#include <linux/slab.h> +-#include <linux/completion.h> +-#include <linux/vmalloc.h> + #include <linux/raspberrypi/vchiq.h> +-#include <media/videobuf2-vmalloc.h> ++#include <linux/vmalloc.h> ++#include <media/videobuf2-v4l2.h> + + #include "mmal-common.h" + #include "mmal-parameters.h" |