]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: vchiq: Move vchiq.h into include directory
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Mon, 29 Jun 2020 15:09:45 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jul 2020 13:47:08 +0000 (15:47 +0200)
To make the separation clear between vchiq's header files and vchiq.h,
which is to be used by services and is the 'public' API, move it into a
dedicated includes directory.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200629150945.10720-48-nsaenzjulienne@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/Makefile
drivers/staging/vc04_services/bcm2835-audio/Makefile
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h
drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h [moved from drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h with 100% similarity]
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
drivers/staging/vc04_services/vchiq-mmal/Makefile
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c

index e02a9c2abf775ed4244c9cf5968e9082312ee941..7546d70116a04a2ba517f085986a132c10e19239 100644 (file)
@@ -12,5 +12,5 @@ obj-$(CONFIG_SND_BCM2835)             += bcm2835-audio/
 obj-$(CONFIG_VIDEO_BCM2835)            += bcm2835-camera/
 obj-$(CONFIG_BCM2835_VCHIQ_MMAL)       += vchiq-mmal/
 
-ccflags-y += -D__VCCOREVER__=0x04000000
+ccflags-y += -I $(srctree)/$(src)/include  -D__VCCOREVER__=0x04000000
 
index 13fa6d7d9745b1de80d4f14245ae70d203353cc7..d59fe4dde615365af00b56e48d96c7888bd018cb 100644 (file)
@@ -2,4 +2,4 @@
 obj-$(CONFIG_SND_BCM2835)      += snd-bcm2835.o
 snd-bcm2835-objs               := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
 
-ccflags-y += -I $(srctree)/$(src)/.. -D__VCCOREVER__=0x04000000
+ccflags-y += -I $(srctree)/$(src)/../include -D__VCCOREVER__=0x04000000
index ca220f5230eca29f8036bd71fb66962b6998936e..1b36475872d6c0e35a309f17a5e3730e63a67248 100644 (file)
@@ -6,10 +6,10 @@
 
 #include <linux/device.h>
 #include <linux/wait.h>
+#include <linux/raspberrypi/vchiq.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm-indirect.h>
-#include "interface/vchiq_arm/vchiq.h"
 
 #define MAX_SUBSTREAMS   (8)
 #define AVAIL_SUBSTREAMS_MASK  (0xff)
index 8a27f3d7217ee5cd3eff8c66cae34f6ad94c9991..e67692879249cac0dd7f00f6da2547629a1a31e3 100644 (file)
 #include <linux/kref.h>
 #include <linux/rcupdate.h>
 #include <linux/wait.h>
+#include <linux/raspberrypi/vchiq.h>
 
 #include "vchiq_cfg.h"
 
-#include "vchiq.h"
 
 /* Do this so that we can test-build the code on non-rpi systems */
 #if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE)
index f285d754ad28df6551d02a3cec8a698d12c3c157..3653fd99d8a18447265e3dbe26d731292c4f1d5b 100644 (file)
@@ -5,7 +5,7 @@
 #define VCHIQ_IOCTLS_H
 
 #include <linux/ioctl.h>
-#include "vchiq.h"
+#include <linux/raspberrypi/vchiq.h>
 
 #define VCHIQ_IOC_MAGIC 0xc4
 #define VCHIQ_INVALID_HANDLE (~0)
index f8164c33aec3dc966b12dbffbbbc401f4c708b10..b2a830f48acc63b9575791055b5b172cb4517f74 100644 (file)
@@ -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
index 7da9a4c1ac03db4bbe0af9f9f79939a00913ee6c..a075cd63da7fd52e5e6ca9cfef8fb8579bbc4fe0 100644 (file)
 #include <linux/slab.h>
 #include <linux/completion.h>
 #include <linux/vmalloc.h>
+#include <linux/raspberrypi/vchiq.h>
 #include <media/videobuf2-vmalloc.h>
 
 #include "mmal-common.h"
 #include "mmal-vchiq.h"
 #include "mmal-msg.h"
 
-#include "interface/vchiq_arm/vchiq.h"
-
 /*
  * maximum number of components supported.
  * This matches the maximum permitted by default on the VPU