Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1720133ybl; Thu, 30 Jan 2020 04:57:02 -0800 (PST) X-Google-Smtp-Source: APXvYqwB9E1fRy7ZxJDnrVNFQ2Htn+F+oUDZWqU211bGOBvTpsv/sNvT+UwrMRcHLgj5LZQGoPMG X-Received: by 2002:a9d:7852:: with SMTP id c18mr3234225otm.247.1580389022284; Thu, 30 Jan 2020 04:57:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580389022; cv=none; d=google.com; s=arc-20160816; b=h0G22+u17hekkfaTNF/jWgqCA3UIZR9tcZCN534jNRNgJvWakRld2Bdj0eH1DHZeIu jUGtKUfK7sVVTXTlS9h3Io81oCnioNa9N+7C9i712OeSez+YTMBYGmQ9Uf6xxuSmVnwm 9lZpUXhl+17SrQwRBbt3VeaFRZwreMJDTlTbTSUrCR7ihRM3ZJwCb42pZwxeGyLXyr34 u/HnPmw4m1augn5h9pcsMLqb5S+VFEjBnl6LRJUu23OXpoZlRY1iv8hxIyMP7qTS4ssx AUXXmfobmg1cc9IE3CE1mRvXgSE+ORKztnosV3J6hnAi5oHNbs+6yXgcPbV5JJBF/244 d5lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=LxTgZubPs+KrAejVKz7CE3zdb7eM2E6Ko5U30QMCkAA=; b=hkh+V074W+NSMZSs7FOVHfwZM0l+WJc7gwTIpjXR4ydWDAr2/MYvMQh9ac38lAliUG xOMmobwbJDGTRYEmABNrAVVFCDmMh65nByC3qJzdgjAyVFQssqiSEIG1tj3VBB+h7ow2 22PiWgRLpxeVvi2h4TUL5Mrih6RIpOSRfTydF4R8GMO580hPT6AXfxdWn28JnYsbUAuX kVSE6a/rCqLODaJRv2igeUM30geRCcgnNUTrEi2T22otnYGaxraKmaax3OKYpWkujihZ 451LTKidM9FaMa1xr5wN7GJa5/HXG1Y5FfoaBz0FtxYeSJDYUiT3J9wssqXGgfIRZyYN QcSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si2733558oia.165.2020.01.30.04.56.49; Thu, 30 Jan 2020 04:57:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727338AbgA3Mzf (ORCPT + 99 others); Thu, 30 Jan 2020 07:55:35 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:59856 "EHLO xavier.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727324AbgA3Mze (ORCPT ); Thu, 30 Jan 2020 07:55:34 -0500 Received: from ramsan ([84.195.182.253]) by xavier.telenet-ops.be with bizsmtp id wcvX210045USYZQ01cvXks; Thu, 30 Jan 2020 13:55:31 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1ix9M2-0001OV-Vw; Thu, 30 Jan 2020 13:55:30 +0100 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1ix9M2-0000bu-TS; Thu, 30 Jan 2020 13:55:30 +0100 From: Geert Uytterhoeven To: Orson Zhai , Lee Jones Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] mfd: syscon: Fix syscon_regmap_lookup_by_phandle_args() dummy Date: Thu, 30 Jan 2020 13:55:29 +0100 Message-Id: <20200130125529.2304-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If CONFIG_MFD_SYSCON=n: include/linux/mfd/syscon.h:54:23: warning: ‘syscon_regmap_lookup_by_phandle_args’ defined but not used [-Wunused-function] Fix this by adding the missing inline keyword. Fixes: 6a24f567af4accef ("mfd: syscon: Add arguments support for syscon reference") Signed-off-by: Geert Uytterhoeven --- include/linux/mfd/syscon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/syscon.h b/include/linux/mfd/syscon.h index 714cab1e09d3c1fd..7f20e9b502a5bd48 100644 --- a/include/linux/mfd/syscon.h +++ b/include/linux/mfd/syscon.h @@ -51,7 +51,7 @@ static inline struct regmap *syscon_regmap_lookup_by_phandle( return ERR_PTR(-ENOTSUPP); } -static struct regmap *syscon_regmap_lookup_by_phandle_args( +static inline struct regmap *syscon_regmap_lookup_by_phandle_args( struct device_node *np, const char *property, int arg_count, -- 2.17.1