]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: include linux/module.h as needed
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 11:08:00 +0000 (12:08 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 2 Nov 2017 11:20:37 +0000 (11:20 +0000)
commitddfa05d40991ceb087bc9fc05d98ee9dccebc017
treecaeee7f64becc75efb7dfc8a6410698ca16feaff
parent177d1a423111a5ca0ae8b1d2b7e95ff1d28618bd
ASoC: intel: include linux/module.h as needed

The MODULE_DESCRIPTION() macro is only available when including
the linux/module.h header. Apparently this is included indirectly
from sst-firmware.c in some configurations, but not in others:

sound/soc/intel/common/sst-firmware.c:1278:20: error: expected declaration specifiers or '...' before string constant
 MODULE_DESCRIPTION("Intel SST Firmware Loader");
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/intel/common/sst-firmware.c:1279:16: error: expected declaration specifiers or '...' before string constant

This adds the missing include line.

Fixes: 7c5e7e1ae1ba ("ASoC: intel: Fix sst-dsp dependency on dw stuff")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-firmware.c