summaryrefslogtreecommitdiff
path: root/drivers/staging/most/cdev
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/cdev
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/cdev')
-rw-r--r--drivers/staging/most/cdev/Makefile1
-rw-r--r--drivers/staging/most/cdev/cdev.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/most/cdev/Makefile b/drivers/staging/most/cdev/Makefile
index 9f4a8b8c9c27..ef90cd71994a 100644
--- a/drivers/staging/most/cdev/Makefile
+++ b/drivers/staging/most/cdev/Makefile
@@ -2,4 +2,3 @@
obj-$(CONFIG_MOST_CDEV) += most_cdev.o
most_cdev-objs := cdev.o
-ccflags-y += -I $(srctree)/drivers/staging/
diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev/cdev.c
index 59f346d1f4af..71943d17f825 100644
--- a/drivers/staging/most/cdev/cdev.c
+++ b/drivers/staging/most/cdev/cdev.c
@@ -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