[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a0aM4GRZ62TvNpwtMY0Bw7JGJNVs55UkpdBVYeKgWhMaQ@mail.gmail.com>
Date: Fri, 26 Mar 2021 17:44:50 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Vijendar Mukunda <Vijendar.Mukunda@....com>
Cc: Mark Brown <broonie@...nel.org>,
ALSA Development Mailing List <alsa-devel@...a-project.org>,
Alex Deucher <Alexander.Deucher@....com>,
Basavaraj.Hiregoudar@....com, Sunil-kumar.Dommati@....com,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Ravulapati Vishnu vardhan rao
<Vishnuvardhanrao.Ravulapati@....com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] ASoC: amd: fix acpi dependency kernel warning
On Fri, Mar 26, 2021 at 5:44 PM Vijendar Mukunda
<Vijendar.Mukunda@....com> wrote:
>
> Fix ACPI dependency kernel warning produced by powerpc
> allyesconfig.
>
> sound/soc/amd/acp-da7219-max98357a.c:684:28: warning:
> 'cz_rt5682_card' defined but not used [-Wunused-variable]
>
> sound/soc/amd/acp-da7219-max98357a.c:671:28: warning: 'cz_card'
> defined but not used [-Wunused-variable]
I would suggest simply dropping the unnecessary #ifdef and
ACPI_PTR() guard.
It might be helpful to hide the Kconfig submenu under
'depends on X86 || COMPILE_TEST'.
Arnd
Powered by blists - more mailing lists