[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZxlpKmrYy8srtckn@google.com>
Date: Wed, 23 Oct 2024 14:22:50 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Zeng Heng <zengheng4@...wei.com>
Cc: raymondhackley@...tonmail.com, markuss.broks@...il.com,
linux-input@...r.kernel.org, bobo.shaobowang@...wei.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] input/touchscreen: imagis: Fix not used variable
'imagis_3038_data'
On Wed, Oct 23, 2024 at 05:48:31PM +0800, Zeng Heng wrote:
> Fix the following compilation warnings:
> drivers/input/touchscreen/imagis.c:422:39: warning: ‘imagis_3038c_data’
> defined but not used [-Wunused-const-variable=]
> 422 | static const struct imagis_properties imagis_3038c_data = {
> drivers/input/touchscreen/imagis.c:415:39: warning: ‘imagis_3038b_data’
> defined but not used [-Wunused-const-variable=]
> 415 | static const struct imagis_properties imagis_3038b_data = {
> drivers/input/touchscreen/imagis.c:407:39: warning: ‘imagis_3038_data’
> defined but not used [-Wunused-const-variable=]
> 407 | static const struct imagis_properties imagis_3038_data = {
> drivers/input/touchscreen/imagis.c:398:39: warning: ‘imagis_3032c_data’
> defined but not used [-Wunused-const-variable=]
> 398 | static const struct imagis_properties imagis_3032c_data = {
>
> Only define the variables 'imagis_303*_data' when the CONFIG_OF
> is enabled.
>
> Fixes: 1e48ee99f603 ("Input: imagis - add supports for Imagis IST3038")
> Signed-off-by: Zeng Heng <zengheng4@...wei.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists