From patchwork Sat Mar 12 13:57:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_Povi=C5=A1er?= X-Patchwork-Id: 12778887 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2252AC433F5 for ; Sat, 12 Mar 2022 13:58:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229494AbiCLN7E (ORCPT ); Sat, 12 Mar 2022 08:59:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232035AbiCLN7D (ORCPT ); Sat, 12 Mar 2022 08:59:03 -0500 Received: from hutie.ust.cz (unknown [IPv6:2a03:3b40:fe:f0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C1ED26ACC; Sat, 12 Mar 2022 05:57:54 -0800 (PST) From: =?utf-8?q?Martin_Povi=C5=A1er?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1647093470; bh=D4KdA+ZrW7aJFNAnE8O5SFW/OiSq5fNJDXeWNiLTHd4=; h=From:To:Cc:Subject:Date; b=OZD56KzfO1Wn1Zlx+CZzL3DXM+t8uwwpnG4D4BR2pRoNc+gwUYNmsMpXdlUp706jn MRrhXraCVBUkf/C7JuzPYb2G2RFu1UYj4ImgetJHD2yP9+7D9xAblI43f8/Xr7XBnI xE83Sc5ONKaBPeL8vvX0eGS6iQtxMGAl22vjgnC8= To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Marti?= =?utf-8?q?n_Povi=C5=A1er?= Subject: [PATCH] clk: clk-apple-nco: Allow and fix module building Date: Sat, 12 Mar 2022 14:57:22 +0100 Message-Id: <20220312135722.20770-1-povik+lin@cutebit.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Signed-off-by: Martin PoviĊĦer --- 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(-) 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 = {