mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
staging: vc04_services: interface: 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 interface/ files instead. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Link: https://lore.kernel.org/r/20230120201104.606876-6-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
74d5eb7de9
commit
2529ca2114
3 changed files with 3 additions and 4 deletions
|
@ -15,5 +15,3 @@ obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/
|
||||||
obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/
|
obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/
|
||||||
obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += vchiq-mmal/
|
obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += vchiq-mmal/
|
||||||
|
|
||||||
ccflags-y += -I $(srctree)/$(src)/include
|
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
#include <linux/kref.h>
|
#include <linux/kref.h>
|
||||||
#include <linux/rcupdate.h>
|
#include <linux/rcupdate.h>
|
||||||
#include <linux/wait.h>
|
#include <linux/wait.h>
|
||||||
#include <linux/raspberrypi/vchiq.h>
|
|
||||||
|
|
||||||
|
#include "../../include/linux/raspberrypi/vchiq.h"
|
||||||
#include "vchiq_cfg.h"
|
#include "vchiq_cfg.h"
|
||||||
|
|
||||||
/* Do this so that we can test-build the code on non-rpi systems */
|
/* Do this so that we can test-build the code on non-rpi systems */
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
#define VCHIQ_IOCTLS_H
|
#define VCHIQ_IOCTLS_H
|
||||||
|
|
||||||
#include <linux/ioctl.h>
|
#include <linux/ioctl.h>
|
||||||
#include <linux/raspberrypi/vchiq.h>
|
|
||||||
|
#include "../../include/linux/raspberrypi/vchiq.h"
|
||||||
|
|
||||||
#define VCHIQ_IOC_MAGIC 0xc4
|
#define VCHIQ_IOC_MAGIC 0xc4
|
||||||
#define VCHIQ_INVALID_HANDLE (~0)
|
#define VCHIQ_INVALID_HANDLE (~0)
|
||||||
|
|
Loading…
Reference in a new issue