Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1149639pxb; Wed, 4 Nov 2020 01:02:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+1gm/VR0jH0+qcHmrGXeyXcGLoktTsK7yy/cCI+BVpduaF1FdWY+8GohdPfIUV5Srda9N X-Received: by 2002:a17:906:3a59:: with SMTP id a25mr692410ejf.546.1604480532167; Wed, 04 Nov 2020 01:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604480532; cv=none; d=google.com; s=arc-20160816; b=b+cBPIEZpLZ/M7bcWavC1pMN0Kfds2Yf6r8QQrPnK5XOPwXYPqZ5Rx+91yRVrzDp3v baibtrkmpBFwODKRBLLRp//LVxaxsBGAW9smUA1QpIC50Bjx1nKdy56MUvI/PaxHxc0b J4WpM9k+gyX+8V9FNVurhP9TxERJx7f2o49XF8NIBVAeV+DxwydTOyjpfrwbG+8qAJxJ 9xBOd3fuDcUTmZ1KhAmy/tDjfErKnvED5SwIDDa4AiQLWOWGWDL0IWGHY5zncngbcEel 1CwXxW5vUbbf3BfCjw2mWfDVCiR94An0JC6MWWj6BKRxV3QFQLK1FO9nK3r70LJZXbgJ eplg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ex50dBTezmz2am3evvf++6DJ6ueuGNaRNG/B0bkjhsw=; b=xFh3FbNkh7r0uy0ZbhspmmFvTPOluUfAGWfCJz74rn7erVILdCnl57vIH5U1HePvmK O7wWlKCb7plxXBkubZzBy5FcHzbEROmILFo0wMuwFseN2ZQueAN+d/u2qpvetIAliPCi pwHpXF2a7aYaYYb/FRUiV+bTSoalZo87JIS717fzWmRisKGGpx3aIfeQzyVEcfvpXw2N K7OEdiJPXuQg3dto8rT9Ah6VlGQXjPUT2spMEX0s2/mnPOT7Hs+bTiyXf9FrbCjsHrWz EExW+kmdj86EwQPELerSDSBaJeuF7maKA84f8GVBoDQ+KPVH6HuTPoYMYkYeE+KQAjVk VnGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd28si912955ejb.606.2020.11.04.01.01.47; Wed, 04 Nov 2020 01:02:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728046AbgKDJA2 (ORCPT + 99 others); Wed, 4 Nov 2020 04:00:28 -0500 Received: from foss.arm.com ([217.140.110.172]:33406 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbgKDJA1 (ORCPT ); Wed, 4 Nov 2020 04:00:27 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 43F08139F; Wed, 4 Nov 2020 01:00:26 -0800 (PST) Received: from bogus (unknown [10.57.20.164]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4236B3F66E; Wed, 4 Nov 2020 01:00:23 -0800 (PST) Date: Wed, 4 Nov 2020 09:00:16 +0000 From: Sudeep Holla To: Krzysztof Kozlowski Cc: Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Geert Uytterhoeven , Peng Fan , Abel Vesa , Anson Huang , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH 8/8] clk: scpi: mark scpi_clk_match as maybe unused Message-ID: <20201104090016.4yknr3zrewuhwhnu@bogus> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-8-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201103162435.13689-8-krzk@kernel.org> User-Agent: NeoMutt/20171215 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2020 at 05:24:35PM +0100, Krzysztof Kozlowski wrote: > The scpi_clk_match (struct of_device_id) is referenced only with > CONFIG_OF builds thus mark it as __maybe_unused: > > drivers/clk/clk-scpi.c:132:34: warning: > ‘scpi_clk_match’ defined but not used [-Wunused-const-variable=] > Acked-by: Sudeep Holla -- Regards, Sudeep