diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-01-16 01:44:51 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-16 20:56:31 +0100 |
commit | 532c29190795178bb02d2671b5e8a288c16a4649 (patch) | |
tree | 676cb051d87f93e2ce20d2cd47d82455823f8bd6 /drivers/staging/most/sound | |
parent | staging: most: core: remove noisy log messages (diff) | |
download | linux-dev-532c29190795178bb02d2671b5e8a288c16a4649.tar.xz linux-dev-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/sound')
-rw-r--r-- | drivers/staging/most/sound/Makefile | 1 | ||||
-rw-r--r-- | drivers/staging/most/sound/sound.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/most/sound/Makefile b/drivers/staging/most/sound/Makefile index a3d086c6ca70..f0cd9d8d213e 100644 --- a/drivers/staging/most/sound/Makefile +++ b/drivers/staging/most/sound/Makefile @@ -2,4 +2,3 @@ obj-$(CONFIG_MOST_SOUND) += most_sound.o most_sound-objs := sound.o -ccflags-y += -I $(srctree)/drivers/staging/ diff --git a/drivers/staging/most/sound/sound.c b/drivers/staging/most/sound/sound.c index 23baf4bd7c12..44cf2334834f 100644 --- a/drivers/staging/most/sound/sound.c +++ b/drivers/staging/most/sound/sound.c @@ -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 |