Unverified Commit dc1aff7f authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown
Browse files

ASoC: amd: acp-da7219-max98357a: fix 'defined but not used' warning

parent 2cb7802b
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -450,11 +450,13 @@ static int cz_probe(struct platform_device *pdev)
	return 0;
	return 0;
}
}


#ifdef CONFIG_ACPI
static const struct acpi_device_id cz_audio_acpi_match[] = {
static const struct acpi_device_id cz_audio_acpi_match[] = {
	{ "AMD7219", 0 },
	{ "AMD7219", 0 },
	{},
	{},
};
};
MODULE_DEVICE_TABLE(acpi, cz_audio_acpi_match);
MODULE_DEVICE_TABLE(acpi, cz_audio_acpi_match);
#endif


static struct platform_driver cz_pcm_driver = {
static struct platform_driver cz_pcm_driver = {
	.driver = {
	.driver = {