diff options
author | Vaibhav Agarwal <vaibhav.sr@gmail.com> | 2020-07-09 15:57:23 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-29 16:43:26 +0200 |
commit | dbc676e722db28ab8cfb6cc857ac49d8808a5be4 (patch) | |
tree | f49b595ddde9d13b7b3b260f67c073ebf420329d /drivers/staging/greybus/audio_helper.c | |
parent | c9a57eddb235d53b0a8b9d740e454ef466086fc8 (diff) | |
download | linux-dbc676e722db28ab8cfb6cc857ac49d8808a5be4.tar.bz2 |
drivers: staging: audio: Fix the missing header file for helper file
This patch fixes the warning reported for missing prototypes due to
missing header file. Also, it includes changes to remove
unused_but_set_variables.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vaibhav Agarwal <vaibhav.sr@gmail.com>
Link: https://lore.kernel.org/r/6341df9b0b5985047af0bbbc8e136481ac515b25.1594290158.git.vaibhav.sr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/audio_helper.c')
-rw-r--r-- | drivers/staging/greybus/audio_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/audio_helper.c b/drivers/staging/greybus/audio_helper.c index faaa39708118..8b100a71f02e 100644 --- a/drivers/staging/greybus/audio_helper.c +++ b/drivers/staging/greybus/audio_helper.c @@ -7,6 +7,7 @@ #include <sound/core.h> #include <sound/soc.h> #include <sound/soc-dapm.h> +#include "audio_helper.h" #define gbaudio_dapm_for_each_direction(dir) \ for ((dir) = SND_SOC_DAPM_DIR_IN; (dir) <= SND_SOC_DAPM_DIR_OUT; \ |