]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: make function stub static
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 20 May 2016 15:38:54 +0000 (08:38 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:15:45 +0000 (16:15 +0100)
commitd99caf5cdd35abff8fadfc24b77238e15376f801
tree15e549318bf5c2c8ff12618adfd738dd660f0bb3
parenteafb69e30fd2c5eb541ab8464cb7c24186e23039
ASoC: intel: make function stub static

This function stub should have been 'static' in the original patch
so that multiple uses of the header file (in different drivers)
will not cause multiple function definitions.

sound/soc/intel/boards/built-in.o: In function `sst_acpi_find_name_from_hid':
(.text+0x560): multiple definition of `sst_acpi_find_name_from_hid'
sound/soc/intel/atom/built-in.o:(.text+0x10610): first defined here
../scripts/Makefile.build:369: recipe for target 'sound/soc/intel/built-in.o' failed

Fixes: 466b0c9e79ba: add function stub when ACPI is not enabled
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-acpi.h