ASoC: intel: add function stub when ACPI is not enabled
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 29 Mar 2016 16:45:00 +0000 (09:45 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 30 Mar 2016 22:30:00 +0000 (15:30 -0700)
commitf17131a93f43665a76ae1f6aebdbb3e41674137c
tree3a788f7cacbd8e35a74a55b6ac18e9467cdd4509
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ASoC: intel: add function stub when ACPI is not enabled

Add function stub for "sst_acpi_find_name_from_hid()"
when CONFIG_ACPI is not enabled so that the driver will build
successfully. This fixes the following build errors:

(loadable module)
ERROR: "sst_acpi_find_name_from_hid" [sound/soc/intel/boards/snd-soc-sst-bytcr-rt5640.ko] undefined!
(or built-in)
bytcr_rt5640.c:(.text+0x26fc52): undefined reference to `sst_acpi_find_name_from_hid'

Reported-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-acpi.h