diff options
author | Vinod Koul <vinod.koul@intel.com> | 2017-07-03 13:54:46 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-03 16:50:49 +0100 |
commit | 58be77537aa12ca0c6c91eaf37902ad5f8c812bd (patch) | |
tree | 7241d50ba067c6324d6ebc64a2ccf127af666891 /sound/soc/intel | |
parent | bdd0384a5ada8bb5745e5f29c10a5ba88827efad (diff) | |
download | blackbird-op-linux-58be77537aa12ca0c6c91eaf37902ad5f8c812bd.tar.gz blackbird-op-linux-58be77537aa12ca0c6c91eaf37902ad5f8c812bd.zip |
ASoC: Intel: Skylake: explicitly add the headers sst-dsp.h
Commit bdd0384a5ada ("ASoC: Intel: Skylake: Add support to read firmware
registers") introduced firmware register read so added sst-dsp-priv.h but
missed adding sst-dsp.h as that leads to below compiler warning:
In file included from sound/soc/intel/skylake/skl-debug.c:23:0:
>> sound/soc/intel/skylake/../common/sst-dsp-priv.h:63:42: warning:
'struct sst_pdata' declared inside parameter list [enabled by default]
int (*init)(struct sst_dsp *sst, struct sst_pdata *pdata);
^
>> sound/soc/intel/skylake/../common/sst-dsp-priv.h:63:42: warning:
its scope is only this definition or declaration, which is probably
not what you want [enabled by default]
So add the missing header.
Fixes: bdd0384a5ada ("ASoC: Intel: Skylake: Add support to read firmware registers")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/skylake/skl-debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-debug.c b/sound/soc/intel/skylake/skl-debug.c index 75497b1fda45..34d06abbf796 100644 --- a/sound/soc/intel/skylake/skl-debug.c +++ b/sound/soc/intel/skylake/skl-debug.c @@ -20,6 +20,7 @@ #include "skl-sst-ipc.h" #include "skl-tplg-interface.h" #include "skl-topology.h" +#include "../common/sst-dsp.h" #include "../common/sst-dsp-priv.h" #define MOD_BUF PAGE_SIZE |