Skip to content

Commit 74d5eb7

Browse files
Umang Jaingregkh
authored andcommitted
staging: vc04_services: vchiq-mmal: 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 mmal-vchiq.c instead. Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Umang Jain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5395fb3 commit 74d5eb7

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

drivers/staging/vc04_services/vchiq-mmal/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
bcm2835-mmal-vchiq-objs := mmal-vchiq.o
33

44
obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += bcm2835-mmal-vchiq.o
5-
6-
ccflags-y += \
7-
-I$(srctree)/$(src)/.. \
8-
-I$(srctree)/$(src)/../include

drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
#include <linux/slab.h>
2424
#include <linux/completion.h>
2525
#include <linux/vmalloc.h>
26-
#include <linux/raspberrypi/vchiq.h>
2726
#include <media/videobuf2-vmalloc.h>
2827

28+
#include "../include/linux/raspberrypi/vchiq.h"
2929
#include "mmal-common.h"
3030
#include "mmal-vchiq.h"
3131
#include "mmal-msg.h"

0 commit comments

Comments
 (0)