summaryrefslogtreecommitdiff
path: root/drivers/staging/most/usb
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-01-16 01:44:51 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-16 20:56:31 +0100
commit532c29190795178bb02d2671b5e8a288c16a4649 (patch)
tree676cb051d87f93e2ce20d2cd47d82455823f8bd6 /drivers/staging/most/usb
parent793769120b109e3cec536bb8f5b6f9ef959c315f (diff)
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>
Diffstat (limited to 'drivers/staging/most/usb')
-rw-r--r--drivers/staging/most/usb/Makefile1
-rw-r--r--drivers/staging/most/usb/usb.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/most/usb/Makefile b/drivers/staging/most/usb/Makefile
index 83cf2ead7122..c2b207339aec 100644
--- a/drivers/staging/most/usb/Makefile
+++ b/drivers/staging/most/usb/Makefile
@@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_USB) += most_usb.o
most_usb-objs := usb.o
-ccflags-y += -I $(srctree)/drivers/staging/
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging/most/usb/usb.c
index 491b38e91e9d..35217ca65cbb 100644
--- a/drivers/staging/most/usb/usb.c
+++ b/drivers/staging/most/usb/usb.c
@@ -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