[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <cdce709e-b54a-4f06-9c67-b1e1a2fc8dbe@app.fastmail.com>
Date: Thu, 20 Feb 2025 09:54:36 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Arnd Bergmann" <arnd@...nel.org>,
"Daniel Lezcano" <daniel.lezcano@...aro.org>,
"Thomas Gleixner" <tglx@...utronix.de>
Cc: "Nicolas Ferre" <nicolas.ferre@...rochip.com>,
"Alexandre Belloni" <alexandre.belloni@...tlin.com>,
"Claudiu Beznea" <claudiu.beznea@...on.dev>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clocksource: atmel_tcb: fix kconfig dependency
On Thu, Feb 20, 2025, at 09:52, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> Build-testing this driver on arm without CONFIG_OF produces a warning:
>
> drivers/clocksource/timer-atmel-tcb.c:368:34: error:
> 'atmel_tcb_of_match' defined but not used
> [-Werror=unused-const-variable=]
> 368 | static const struct of_device_id atmel_tcb_of_match[] = {
> | ^~~~~~~~~~~~~~~~~~
>
> Change the dependency to allow build-testing on all architectures but
> instead require CONFIG_OF to be present.
>
And the second I send this out, another failure pops up, please
disregard this version as the CONFIG_ARM dependency is still needed
for register_current_timer_delay().
Arnd
Powered by blists - more mailing lists