staging: vc04_services: bcm2835-codec: Drop include Makefile directive

Drop the include directive. They can break the build, when one only
wants to build a subdirectory. Replace with "../" for the includes in
the bcm2835-v4l2-codec instead.

The fix is equivalent to the four patches between 29d49a76c5
("staging: vc04_services: bcm2835-audio: Drop include Makefile
directive")...2529ca211402 ("staging: vc04_services: interface: Drop
include Makefile directive")

Fixes: afaec52747 ("staging: vc04_services: Add a V4L2 M2M codec driver")
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2024-06-03 17:01:50 +01:00
committed by Dom Cobley
parent 22e3fd68d3
commit e8a56077b8
2 changed files with 4 additions and 5 deletions

View File

@@ -4,5 +4,4 @@ bcm2835-codec-objs := bcm2835-v4l2-codec.o
obj-$(CONFIG_VIDEO_CODEC_BCM2835) += bcm2835-codec.o
ccflags-y += \
-I$(srctree)/drivers/staging/vc04_services \
-D__VCCOREVER__=0x04000000

View File

@@ -36,10 +36,10 @@
#include <media/v4l2-event.h>
#include <media/videobuf2-dma-contig.h>
#include "vchiq-mmal/mmal-encodings.h"
#include "vchiq-mmal/mmal-msg.h"
#include "vchiq-mmal/mmal-parameters.h"
#include "vchiq-mmal/mmal-vchiq.h"
#include "../vchiq-mmal/mmal-encodings.h"
#include "../vchiq-mmal/mmal-msg.h"
#include "../vchiq-mmal/mmal-parameters.h"
#include "../vchiq-mmal/mmal-vchiq.h"
MODULE_IMPORT_NS(DMA_BUF);