]> git.baikalelectronics.ru Git - kernel.git/commit
clk: allow building lan966x as a module
authorClément Léger <clement.leger@bootlin.com>
Fri, 17 Jun 2022 10:33:06 +0000 (12:33 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 3 Oct 2022 21:14:02 +0000 (14:14 -0700)
commit7300a9ce59f8384f87a53fe33b41a30fa8e66189
tree7ea0f3c04dbbc32468874dd58f2ee66fef015edc
parentb7569c6b9da36ec259bf49c6697049ea4cf2c28b
clk: allow building lan966x as a module

Set the COMMON_CLK_LAN966X option as a tristate and switch from
builtin_platform_driver() to module_platform_driver() to allow building
and using this driver as a module.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Link: https://lore.kernel.org/r/20220617103306.489466-1-clement.leger@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/Kconfig
drivers/clk/clk-lan966x.c