]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: microchip: core: allow driver to be compiled with COMPILE_TEST
authorBrian Masney <bmasney@redhat.com>
Mon, 12 Jan 2026 22:48:10 +0000 (17:48 -0500)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 30 Jan 2026 14:29:08 +0000 (15:29 +0100)
commit026d70dcfe5de1543bb8edb8e50d22dc16863e6b
treec3a30c2784835f47023ded5e568971e4d40def15
parent89ace0736208de07577ecc16962927930baf4e7d
clk: microchip: core: allow driver to be compiled with COMPILE_TEST

This driver currently only supports builds against a PIC32 target. To
avoid future breakage in the future, let's update the Kconfig and the
driver so that it can be built with CONFIG_COMPILE_TEST enabled.

Note that with the existing asm calls is not how I'd want to do this
today if this was a new driver, however I don't have access to this
hardware. To avoid any breakage, let's keep the existing behavior.

Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/clk/microchip/Kconfig
drivers/clk/microchip/clk-core.c