OpenCloudOS-Kernel/sound/soc/intel
Vinod Koul 3493d4a864 ASoC: Intel: Kconfig: fix build when ACPI is not enabled
Randy reported following error when ACPI is not enabled:

warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_BYTCR_RT5651_MACH
&& SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH &&
SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH) selects SND_SST_IPC_ACPI
+which has unmet direct dependencies (SOUND && !M68K && !UML && SND &&
SND_SOC && ACPI)

causing these build errors:

In file included from ../sound/soc/intel/atom/sst/sst_acpi.c:40:0:
../include/acpi/acpi_bus.h:65:20: error: conflicting types for
'acpi_evaluate_dsm'
 union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const u8 *uuid,
In file included from ../sound/soc/intel/atom/sst/sst_acpi.c:31:0:
../include/linux/acpi.h:676:34: note: previous definition of
'acpi_evaluate_dsm' was here
 static inline union acpi_object *acpi_evaluate_dsm(acpi_handle handle,

CONFIG_SND_SST_IPC_ACPI was already dependent upon ACPI, but that was not
solving it. So move the depends up to machine drivers and remove from
CONFIG_SND_SST_IPC_ACPI.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-06-22 15:47:22 +01:00
..
atom ASoC: Intel: Atom: fix boot warning 2016-04-22 10:39:15 +01:00
baytrail ASoC: Intel: add NULL test 2015-12-23 00:02:17 +00:00
boards ASoC: Intel: Add support for PM ops in bxt-rt298 2016-06-14 14:59:33 +01:00
common ASoC: intel: make function stub static 2016-05-30 16:15:45 +01:00
haswell ASoC: Intel: Fix printk formatting 2016-05-11 14:39:40 +01:00
skylake ASoC: Intel: Skylake: Check for module list being NULL 2016-06-14 18:00:45 +01:00
Kconfig ASoC: Intel: Kconfig: fix build when ACPI is not enabled 2016-06-22 15:47:22 +01:00
Makefile ASoC: Intel: Add makefile support for SKL driver 2015-07-09 11:54:26 +01:00