[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdb3hjK6CC4LTRX_S0X+AVSA6hZctuV6XF67Qn_UcrihWQ@mail.gmail.com>
Date: Wed, 8 Jul 2020 09:20:09 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Lee Jones <lee.jones@...aro.org>
Cc: Bartosz Golaszewski <bgolaszewski@...libre.com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Shravan Kumar Ramani <sramani@...lanox.com>
Subject: Re: [PATCH 08/10] gpio: gpio-mlxbf: Tell the compiler that ACPI
functions may not be used
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones <lee.jones@...aro.org> wrote:
> ... as is the case when !CONFIG_ACPI.
>
> Fixes the following W=1 kernel build warning:
>
> drivers/gpio/gpio-mlxbf.c:130:36: warning: ‘mlxbf_gpio_acpi_match’ defined but not used [-Wunused-const-variable=]
> 130 | static const struct acpi_device_id mlxbf_gpio_acpi_match[] = {
> | ^~~~~~~~~~~~~~~~~~~~~
>
> Cc: Shravan Kumar Ramani <sramani@...lanox.com>
> Signed-off-by: Lee Jones <lee.jones@...aro.org>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists