mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
ASoC: amd: fixed kernel warnings
This patch will fix unused variables kernel warnings when CONFIG_ACPI is disabled. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://lore.kernel.org/r/1594147044-25582-1-git-send-email-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
a5911ac579
commit
ee3d133972
1 changed files with 2 additions and 0 deletions
|
@ -168,8 +168,10 @@ static int snd_rn_acp_probe(struct pci_dev *pci,
|
|||
{
|
||||
struct acp_dev_data *adata;
|
||||
struct platform_device_info pdevinfo[ACP_DEVS];
|
||||
#if defined(CONFIG_ACPI)
|
||||
acpi_handle handle;
|
||||
acpi_integer dmic_status;
|
||||
#endif
|
||||
unsigned int irqflags;
|
||||
int ret, index;
|
||||
u32 addr;
|
||||
|
|
Loading…
Reference in a new issue