Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vchiq: Move vchiq.h into include directory

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>

authored by

Nicolas Saenz Julienne and committed by
Greg Kroah-Hartman
2ad4ba07 5ada309f

+7 -7
+1 -1
drivers/staging/vc04_services/Makefile
··· 12 12 obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/ 13 13 obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += vchiq-mmal/ 14 14 15 - ccflags-y += -D__VCCOREVER__=0x04000000 15 + ccflags-y += -I $(srctree)/$(src)/include -D__VCCOREVER__=0x04000000 16 16
+1 -1
drivers/staging/vc04_services/bcm2835-audio/Makefile
··· 2 2 obj-$(CONFIG_SND_BCM2835) += snd-bcm2835.o 3 3 snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o 4 4 5 - ccflags-y += -I $(srctree)/$(src)/.. -D__VCCOREVER__=0x04000000 5 + ccflags-y += -I $(srctree)/$(src)/../include -D__VCCOREVER__=0x04000000
+1 -1
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h
··· 6 6 7 7 #include <linux/device.h> 8 8 #include <linux/wait.h> 9 + #include <linux/raspberrypi/vchiq.h> 9 10 #include <sound/core.h> 10 11 #include <sound/pcm.h> 11 12 #include <sound/pcm-indirect.h> 12 - #include "interface/vchiq_arm/vchiq.h" 13 13 14 14 #define MAX_SUBSTREAMS (8) 15 15 #define AVAIL_SUBSTREAMS_MASK (0xff)
drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h
+1 -1
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h
··· 10 10 #include <linux/kref.h> 11 11 #include <linux/rcupdate.h> 12 12 #include <linux/wait.h> 13 + #include <linux/raspberrypi/vchiq.h> 13 14 14 15 #include "vchiq_cfg.h" 15 16 16 - #include "vchiq.h" 17 17 18 18 /* Do this so that we can test-build the code on non-rpi systems */ 19 19 #if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE)
+1 -1
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
··· 5 5 #define VCHIQ_IOCTLS_H 6 6 7 7 #include <linux/ioctl.h> 8 - #include "vchiq.h" 8 + #include <linux/raspberrypi/vchiq.h> 9 9 10 10 #define VCHIQ_IOC_MAGIC 0xc4 11 11 #define VCHIQ_INVALID_HANDLE (~0)
+1
drivers/staging/vc04_services/vchiq-mmal/Makefile
··· 5 5 6 6 ccflags-y += \ 7 7 -I$(srctree)/$(src)/.. \ 8 + -I$(srctree)/$(src)/../include \ 8 9 -D__VCCOREVER__=0x04000000
+1 -2
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
··· 23 23 #include <linux/slab.h> 24 24 #include <linux/completion.h> 25 25 #include <linux/vmalloc.h> 26 + #include <linux/raspberrypi/vchiq.h> 26 27 #include <media/videobuf2-vmalloc.h> 27 28 28 29 #include "mmal-common.h" 29 30 #include "mmal-vchiq.h" 30 31 #include "mmal-msg.h" 31 - 32 - #include "interface/vchiq_arm/vchiq.h" 33 32 34 33 /* 35 34 * maximum number of components supported.