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

Signed-off-by: Martin Povišer <povik+lin@cutebit.org>

Link: https://lore.kernel.org/r/20220312135722.20770-1-povik+lin@cutebit.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Martin Povišer 2022-03-12 14:57:22 +01:00 committed by Stephen Boyd
parent d447eaf746
commit 236541ace2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 = {