diff mbox series

clk: clk-apple-nco: Allow and fix module building

Message ID 20220312135722.20770-1-povik+lin@cutebit.org (mailing list archive)
State Accepted, archived
Headers show
Series clk: clk-apple-nco: Allow and fix module building | expand

Commit Message

Martin Povišer March 12, 2022, 1:57 p.m. UTC
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
---

This slipped through. Applies to clk-next, feel free to squash. Thanks!

 drivers/clk/Kconfig         | 2 +-
 drivers/clk/clk-apple-nco.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Stephen Boyd March 15, 2022, 4:56 p.m. UTC | #1
Quoting Martin Povišer (2022-03-12 05:57:22)
> Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index af4d037e18e3..65e2f8c04f32 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -60,7 +60,7 @@  config LMK04832
 	  Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs
 
 config COMMON_CLK_APPLE_NCO
-	bool "Clock driver for Apple SoC NCOs"
+	tristate "Clock driver for Apple SoC NCOs"
 	depends on ARCH_APPLE || COMPILE_TEST
 	default ARCH_APPLE
 	help
diff --git a/drivers/clk/clk-apple-nco.c b/drivers/clk/clk-apple-nco.c
index 208ee2945209..39472a51530a 100644
--- a/drivers/clk/clk-apple-nco.c
+++ b/drivers/clk/clk-apple-nco.c
@@ -318,7 +318,7 @@  static const struct of_device_id applnco_ids[] = {
 	{ .compatible = "apple,nco" },
 	{ }
 };
-MODULE_DEVICE_TABLE(of, applnco_ids)
+MODULE_DEVICE_TABLE(of, applnco_ids);
 
 static struct platform_driver applnco_driver = {
 	.driver = {