diff options
author | Clément Léger <clement.leger@bootlin.com> | 2022-06-17 12:33:06 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-10-03 14:14:02 -0700 |
commit | 8a977bbb17e2619ba06559f102cffd8678c3084e (patch) | |
tree | 7ea0f3c04dbbc32468874dd58f2ee66fef015edc /drivers/clk/Kconfig | |
parent | ae039f0fc0432922e95888cb470e5d9e1d8f6934 (diff) | |
download | lwn-8a977bbb17e2619ba06559f102cffd8678c3084e.tar.gz lwn-8a977bbb17e2619ba06559f102cffd8678c3084e.zip |
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>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r-- | drivers/clk/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 48f8f4221e21..ac77d4b2c742 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -249,7 +249,7 @@ config COMMON_CLK_GEMINI platform, also known as SL3516 or CS3516. config COMMON_CLK_LAN966X - bool "Generic Clock Controller driver for LAN966X SoC" + tristate "Generic Clock Controller driver for LAN966X SoC" depends on HAS_IOMEM depends on OF depends on SOC_LAN966 || COMPILE_TEST |