Re: [PATCH 50/50] staging: vchiq: Move vchiq.h into include directory

From: Nicolas Saenz Julienne
Date: Thu Jun 25 2020 - 04:24:32 EST


> diff --git a/drivers/staging/vc04_services/vchiq-mmal/Makefile
> b/drivers/staging/vc04_services/vchiq-mmal/Makefile
> index f8164c33aec3..b2a830f48acc 100644
> --- a/drivers/staging/vc04_services/vchiq-mmal/Makefile
> +++ b/drivers/staging/vc04_services/vchiq-mmal/Makefile
> @@ -5,4 +5,5 @@ obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += bcm2835-mmal-vchiq.o
>
> ccflags-y += \
> -I$(srctree)/$(src)/.. \
> + -I$(srctree)/$(src)/../include \
> -D__VCCOREVER__=0x04000000
> diff --git a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
> b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
> index 72afa4319bd3..b99b7555a8fb 100644
> --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
> +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
> @@ -23,14 +23,14 @@
> #include <linux/slab.h>
> #include <linux/completion.h>
> #include <linux/vmalloc.h>
> +#include <linux/raspberrypi/vchiq.h>
> #include <media/videobuf2-vmalloc.h>
> +#include <linux/raspberrypi/vchiq.h>

Just realised that there an include too many here...

Regards,
Nicolas

Attachment: signature.asc
Description: This is a digitally signed message part