aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-04-09 17:53:08 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-05-16 11:10:32 +0200
commitb8239054194ad67aff7d244185ef46890c5ae71a (patch)
treea51fd87fd1ff6fbdf254924f5c81f548bc6fc323 /scripts/lib/kdoc/kdoc_files.py
parentclocksource/drivers/nxp-timer: Add the System Timer Module for the s32gx platforms (diff)
downloadlinux-rng-b8239054194ad67aff7d244185ef46890c5ae71a.tar.xz
linux-rng-b8239054194ad67aff7d244185ef46890c5ae71a.zip
clocksource/drivers/atmel_tcb: Fix kconfig dependency
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 require CONFIG_OF for build testing to avoid the warning. Testing remains possible on all architectures as CONFIG_OF is user-selectable. Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Claudiu Beznea <claudiu.beznea@tuxon.dev> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20250409155313.1096915-1-arnd@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions