staging: most: remove header include path to drivers/staging

There is no need to add "ccflags-y += -I $(srctree)/drivers/staging"
just for including <most/most.h>.

Use the #include "..." directive with the correct relative path.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20200115164451.13203-1-masahiroy@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Masahiro Yamada 2020-01-16 01:44:51 +09:00 committed by Greg Kroah-Hartman
parent 793769120b
commit 532c291907
17 changed files with 15 additions and 17 deletions

View File

@ -2,7 +2,6 @@
obj-$(CONFIG_MOST) += most_core.o
most_core-y := core.o
most_core-y += configfs.o
ccflags-y += -I $(srctree)/drivers/staging/
obj-$(CONFIG_MOST_CDEV) += cdev/
obj-$(CONFIG_MOST_NET) += net/

View File

@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_CDEV) += most_cdev.o
most_cdev-objs := cdev.o
ccflags-y += -I $(srctree)/drivers/staging/

View File

@ -16,7 +16,8 @@
#include <linux/kfifo.h>
#include <linux/uaccess.h>
#include <linux/idr.h>
#include <most/most.h>
#include "../most.h"
#define CHRDEV_REGION_SIZE 50

View File

@ -10,7 +10,8 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/configfs.h>
#include <most/most.h>
#include "most.h"
#define MAX_STRING_SIZE 80

View File

@ -20,7 +20,8 @@
#include <linux/kthread.h>
#include <linux/dma-mapping.h>
#include <linux/idr.h>
#include <most/most.h>
#include "most.h"
#define MAX_CHANNELS 64
#define STRING_SIZE 80

View File

@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_DIM2) += most_dim2.o
most_dim2-objs := dim2.o hal.o sysfs.o
ccflags-y += -I $(srctree)/drivers/staging/

View File

@ -21,7 +21,7 @@
#include <linux/sched.h>
#include <linux/kthread.h>
#include <most/most.h>
#include "../most.h"
#include "hal.h"
#include "errors.h"
#include "sysfs.h"

View File

@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_I2C) += most_i2c.o
most_i2c-objs := i2c.o
ccflags-y += -I $(srctree)/drivers/staging/

View File

@ -14,7 +14,7 @@
#include <linux/interrupt.h>
#include <linux/err.h>
#include <most/most.h>
#include "../most.h"
enum { CH_RX, CH_TX, NUM_CHANNELS };

View File

@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_NET) += most_net.o
most_net-objs := net.o
ccflags-y += -I $(srctree)/drivers/staging/

View File

@ -15,7 +15,8 @@
#include <linux/list.h>
#include <linux/wait.h>
#include <linux/kobject.h>
#include <most/most.h>
#include "../most.h"
#define MEP_HDR_LEN 8
#define MDP_HDR_LEN 16

View File

@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_SOUND) += most_sound.o
most_sound-objs := sound.o
ccflags-y += -I $(srctree)/drivers/staging/

View File

@ -17,7 +17,8 @@
#include <sound/pcm_params.h>
#include <linux/sched.h>
#include <linux/kthread.h>
#include <most/most.h>
#include "../most.h"
#define DRIVER_NAME "sound"
#define STRING_SIZE 80

View File

@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_USB) += most_usb.o
most_usb-objs := usb.o
ccflags-y += -I $(srctree)/drivers/staging/

View File

@ -23,7 +23,8 @@
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/uaccess.h>
#include <most/most.h>
#include "../most.h"
#define USB_MTU 512
#define NO_ISOCHRONOUS_URB 0

View File

@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_VIDEO) += most_video.o
most_video-objs := video.o
ccflags-y += -I $(srctree)/drivers/staging/

View File

@ -21,7 +21,7 @@
#include <media/v4l2-ctrls.h>
#include <media/v4l2-fh.h>
#include <most/most.h>
#include "../most.h"
#define V4L2_CMP_MAX_INPUT 1