Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1589237pxp; Sat, 12 Mar 2022 15:08:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/cXtcIIA4rA9Vceew5rC2d/BnPKrxV32OJ3ocU1OoFIGhyxIVFwvG25Gm+tQZLFZYWViB X-Received: by 2002:a17:90a:a385:b0:1b9:cfb8:de07 with SMTP id x5-20020a17090aa38500b001b9cfb8de07mr17485176pjp.162.1647126482861; Sat, 12 Mar 2022 15:08:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647126482; cv=none; d=google.com; s=arc-20160816; b=Z7JF5seB3OmSHgA8ay2RYCvHsQOSDm+4rC9u6NERlduM71K55utOOsDRWAHDtNbU4b sH9HPWpPkh7iYTsuOrAOyjjV3WfYbHc6TfBwh0wi4b6FJ+mZQrlksmsKcpPQtYs8Zm92 6RbMJG6X7i0h+B+u2vD4YAfYbSsSPg2eLPtQHfOwehkVCXXfS6VgGIBrkCY3GIW4E3WN 7LgY06IQM+jYU9Owbqq7PbcYzdx7RS6/qC18rAPJqC2AtB7+1/EPAQ38N+WWXy9KDSW3 1r2ol2+YqPRP9GWtR+ky2KHEmVol7tjhDDZ6olKlfDn/zboYpOJ6hd4TpRoxxAA/74Ct ZeqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:dkim-signature:from; bh=D4KdA+ZrW7aJFNAnE8O5SFW/OiSq5fNJDXeWNiLTHd4=; b=Bp4SqNOZkpjS8Ltv8N/M0EWhqJwHMwr5PGLumW+B7NI4ZrViPZ4Del+lhzg9+uVEoa XW8WR3ZQvV3UHyFzYdnMr9Nx64NIy0YMUd91HetVo7WmVcwG9Y4RH6iIeHNybKHjPbZM 7SjOemH2hjAoKnPyOnSPQMhWv3Ge8IXOouA+t3Onq7PWeJVNqoS3zaCfbLe8oK6jLXmm t7qf6xWPyf1aiVg/Ov3QS/TytxIvcYtRJm976ZDxHkbS62n1OQCH2056uVtJj7tdHnus uZzlemnI+YETXRs1UptuIB1nDQUyDPP3MAZXmeQH7UyAB3ZrI7osN0LE6czejgkYfj5d tvWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=OZD56Kzf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cutebit.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170902f68c00b0015309902c62si11184665plg.521.2022.03.12.15.07.49; Sat, 12 Mar 2022 15:08:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=OZD56Kzf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cutebit.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232040AbiCLN7F (ORCPT + 99 others); Sat, 12 Mar 2022 08:59:05 -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=20Povi=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?Martin=20Povi=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_FAIL,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 = { -- 2.33.0