summaryrefslogtreecommitdiffstats
path: root/drivers/staging/most/dim2
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/dim2
parent793769120b109e3cec536bb8f5b6f9ef959c315f (diff)
downloadlinux-stable-532c29190795178bb02d2671b5e8a288c16a4649.tar.gz
linux-stable-532c29190795178bb02d2671b5e8a288c16a4649.tar.bz2
linux-stable-532c29190795178bb02d2671b5e8a288c16a4649.zip
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/dim2')
-rw-r--r--drivers/staging/most/dim2/Makefile1
-rw-r--r--drivers/staging/most/dim2/dim2.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/most/dim2/Makefile b/drivers/staging/most/dim2/Makefile
index 116f04d69244..861adacf6c72 100644
--- a/drivers/staging/most/dim2/Makefile
+++ b/drivers/staging/most/dim2/Makefile
@@ -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/
diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c
index 9eb10fc0903e..15c6aa8fa1ea 100644
--- a/drivers/staging/most/dim2/dim2.c
+++ b/drivers/staging/most/dim2/dim2.c
@@ -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"