From patchwork Mon Nov 23 11:19:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330610 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414263ejb; Mon, 23 Nov 2020 03:21:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0Nb1m+13l/i2u+6QC8E7584JAJOus9J+dsnxoWNj7952I7JM89kPt/hd5RukRj3pEaE7A X-Received: by 2002:a17:902:bc4a:b029:d6:7ef9:689c with SMTP id t10-20020a170902bc4ab02900d67ef9689cmr24024324plz.21.1606130479462; Mon, 23 Nov 2020 03:21:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130479; cv=none; d=google.com; s=arc-20160816; b=vyyRgEJ+Gj/YhId3+5QAs1qXel1n6psIVUjOU1gTZKOKYKbwiN1IGphZLymVAR9Kc8 9wi7GbMP1ug4mAv/iQfjGWttktLa+13Y6u8rytfjwkH3wyvSTiH6OH6vzOzLm7UySjeF NRhwmiDS1VsMJ/rQDHd+wg+qUhtsxrdrB4VcObEE+LIL9geq+2HBnHVo335S5LvEbmk9 KefljufhCV3b5OVjO7ZqZTRFf5HrRz0v33ZlikDdm7s6EqItyc6v6ouyeZCytPLAGuyz kz0QHI7hBR5vJg1yC0cdpCcCm2HeXZWy2xli+rF9R/N8/Vy5qyuSUZBbxAQ6pWvOyKXj IjOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=KOlIJWaUDQlwhTG3vkbx81DksPlmRvCu6GF3qo40H+k=; b=hD1Bkdk0UJmEfgTXbaG6luWhGy/WQP92495rfiHa7AgSODRAVtsiNaQ4Scl0v86n5A RfNmumC6TS4HEWNEgj+K/UpQ+RO1woTHbuCcwL7kp1pY8XmSHwymdYYfA5DWcTYjF27l 2A4ulmvu8ANLZUrSWx1bUnrVnnpjp7unY3EZEIoYKfYi+PN9jfb2IM73ww+ILy5sS+0C rFgiIb+rrjN685scy4U+I+G2SYPPWt+Tc92b5Gy9HdoxNbSyaxUzMSb/wVirOjoGvk/i Qm3O+e7ofsaoOXAw2BvhCyY+e+6w2E5bMO+tcoBVScGAIPkdBsstSUEoy9yv3kJn0S1J ox2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ITMcw66k; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m190si5319616pfd.307.2020.11.23.03.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:21:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ITMcw66k; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AADA189FA5; Mon, 23 Nov 2020 11:21:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id E03A76E02C for ; Mon, 23 Nov 2020 11:20:16 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id e7so674938wrv.6 for ; Mon, 23 Nov 2020 03:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3XQiSvdHNX/l8zTX1wnsdbanAAcRSnCZFK2InbUgz80=; b=ITMcw66kMNj6+a35t560vvLEJp9Qh3wX0OAmVSouJIPLLOsp/LcrYRXMqRiNL1IzWp N88RAF/OA4LP2xGceSDMEdHSP4NCSNn2TSIa0J52t70m0+Cd5Jd5qhoE/KLjniNY96Du CEvjpeHeTWD7XQHNXEmghRGM3nQKcrWOIa0NHPPChpU0y7QnN4rLW1ESzUI0kG2lNCsk L/FNUM/285Cq7SZpdjddlkjFfHPPQV3ZKYnfwp4fh//vsODzAD4+0ePc8TkDFkGMZaPl dpKkd1zjRHALp6PHoTEqjG2Nt7KRy4F4csBhN90NqRTLGFbhiEeIGjVPQO9wWpcoy6jh eW7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3XQiSvdHNX/l8zTX1wnsdbanAAcRSnCZFK2InbUgz80=; b=P0q8Fs8f3QBlxmL6G1TmuOcp3L35M4cxO+FU8y1zZ/tY8a+0Kf1WbvUAYzz/csKAUG rPB7gjzXe2irbi9fozqfjQ4bQJNm9wAsSHX3fOirCsRDW0j1jsnIm7/C0dWDANXVfQ+P uyKl7wCDDsVT41INUT9OHfJ4y+A+CbjBSvVDRjFwJX1eo7LD4mbOl+r1ef9nmb/vu/+q pWfPM8dXUFYYsXxs77wed52VwFooKr+GwIkYyANC7qz2U1ghO16yZFALg9X+RjAwS6pA /DQOSgsPBn/vVLbjNlKpkknhFz91mWRRy4n4558JV85n1hmMa7jGb4yV0t4u2hOo0gEk OQtw== X-Gm-Message-State: AOAM533/BQdUckOcHKLjLedSDAwSaoyNh4kvmiM+nF7DDuc0QeZedIhs v58tL8LlW1CVcv4/CV8PP2+BKw== X-Received: by 2002:adf:e80b:: with SMTP id o11mr30535225wrm.409.1606130415390; Mon, 23 Nov 2020 03:20:15 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 38/40] drm/msm/msm_drv: Make '_msm_ioremap()' static Date: Mon, 23 Nov 2020 11:19:17 +0000 Message-Id: <20201123111919.233376-39-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/msm_drv.c:124:15: warning: no previous prototype for ‘_msm_ioremap’ [-Wmissing-prototypes] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/msm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 4d58668b80853..edc99e3b0eca7 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -121,8 +121,8 @@ struct clk *msm_clk_get(struct platform_device *pdev, const char *name) return clk; } -void __iomem *_msm_ioremap(struct platform_device *pdev, const char *name, - const char *dbgname, bool quiet) +static void __iomem *_msm_ioremap(struct platform_device *pdev, const char *name, + const char *dbgname, bool quiet) { struct resource *res; unsigned long size;