mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
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 between29d49a76c5("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:
committed by
Dom Cobley
parent
22e3fd68d3
commit
e8a56077b8
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user