Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp174160pxb; Wed, 13 Jan 2021 00:13:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPMYBS1udy0qR6LfJTseRDp6PtfQHdmbks0B/h32nSxK/GeD0qtZEh+rFDUtPrVhh1LwkH X-Received: by 2002:a17:906:e24f:: with SMTP id gq15mr745691ejb.256.1610525603954; Wed, 13 Jan 2021 00:13:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525603; cv=none; d=google.com; s=arc-20160816; b=f1PO/kmpIvemSZT8soXx3QAMVAM/jo08hVj58Lxk4mQWB/CvC4OvbjiS5BBxz+2QJA VCKEcHQbE9wHKAkNFjGDEAhCnV4Sbl7ceHzoctrKn4Wb0dO3psHGjDHHGK3uZ6/Y71ia Pe3bYDXv2YblsNCQp1Mcm4QczcN3zD31rT9bxA8bnoQlPLoKaim4/HCz39TZD0q7jxZ8 UweYfC5D5EHm/CxIt9oloJtrRLXyLqZ43N+Urhf98cBaHzIEyZhjA+5X3+pbA1TDN7Gq ezF1fbvmmRLQhpiLt3RGWNhbvbXJEhbLMkx2tZA1IRxwx/MDFu/AHJyZqrI4n7H+1QJf HQkQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jIOPy71PcWZjJKz2Zi3owNXyP9wS0eEBz4BZZ+xLt88=; b=bEuXm0wEw/HQndVYlRvQoAUyc7FJTi1dy3tWkTmOMQnrl8ogsFKGyn5fhitk36W+8p 1SLVLLbIwFVxzoHxrtJK3y0IygdEdGyBUdgQ6ji2KJZm0V60XSF77QDTuoZXJUotsVJa E4jjxi3XuA7CfnasYsamBf/1to+LrBahmdIcB8AZeLvhMv25Uy9IRzYmkBsTTGWRTuw8 hjT2qwTkac6sNhJSyuVf38Lmwzy2iqnfIZCnJCIpU7t1dGSinRvueDeYu7HY5e4DWMpd Ni2LLsmbp+OJ+50kZWTA1qNGKs8SRCX28R0wA5LjTv2VL7dVlwNHtVfhaYiMiXbQuhG3 ubuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DOQNpJmT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u7si734628edb.213.2021.01.13.00.13.00; Wed, 13 Jan 2021 00:13:23 -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; dkim=pass header.i=@linaro.org header.s=google header.b=DOQNpJmT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726565AbhAMIKo (ORCPT + 99 others); Wed, 13 Jan 2021 03:10:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727021AbhAMIJh (ORCPT ); Wed, 13 Jan 2021 03:09:37 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 983C4C06138A for ; Wed, 13 Jan 2021 00:08:31 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id n16so3136123wmc.0 for ; Wed, 13 Jan 2021 00:08:31 -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=jIOPy71PcWZjJKz2Zi3owNXyP9wS0eEBz4BZZ+xLt88=; b=DOQNpJmTzQJ07PlrsA9wD5Pn2X09SQxxyN3kHtxeodcgzi8Ykmla2cqkI/wVS1JpPJ 3eE1eaH5MSBZsa461g25igPNwnGc6VazrF5jXh1q8WXRpRGRqVApAqCDCEReWQCZNnOW /BMD6FKe6mGOBpYtq0hz71X98yOqwlLCxHtovNy23y2O9VBEPBe1SY8/XF42dW9CGLS3 AaJdGdy5ZL0DvMRo+5C3zru9wtJ4dp5galDImBX/UuzBfBM8E/CECaPgPE6gEgSfAGkt zSrIKYGw90wZYpZhSGt37u/SP/k9g7q4xIcS+0CnDUN/TJZ+RWdVJSBQSQ7qcNV5+N8f fdZQ== 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=jIOPy71PcWZjJKz2Zi3owNXyP9wS0eEBz4BZZ+xLt88=; b=Ocvy+ymliCKiCy7tI98UFGS3ZUHcOtIobbjtDEex2WHJU8DHyItGl/fJLhSutQnZNT a09FIFS0zwxyhHjxdSLcxm5KOvEi93VNv5b0foxrk0/JPDCUn+vpRzjulAwR711wCWbT Bm6Fr3nJDXNsfAyWM9/DUirrw+eU1J/5YsPQkcfozzxDi9eRQlb7SdNusARNOIU30O70 +mb5o8H0VHV9Fa2JLoi2ht8KPAF2EwmCZoIS0ThycNdv3WWDgRwhLpbANv4Dpv2AWg4z gmOUO4QwV3ZoGwdN2HJwFjR51W5jAHd1ZLIqaMVidFN4ukX5e3GjkHOL1/akRUOrjz5D staw== X-Gm-Message-State: AOAM5334YiyS3tL6OPS6S8daFYsrZesJpvz92IrpfFSBq6tPgYKgh5W2 VDMrB4KCv0Fn8oEj684oWn8dg2oFOHYrmP+B X-Received: by 2002:a05:600c:4101:: with SMTP id j1mr936107wmi.55.1610525310368; Wed, 13 Jan 2021 00:08:30 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Ben Skeggs , David Airlie , Daniel Vetter , Lyude Paul , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org Subject: [PATCH 28/30] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Date: Wed, 13 Jan 2021 08:07:50 +0000 Message-Id: <20210113080752.1003793-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/headc57d.c:173:1: warning: no previous prototype for ‘headc57d_olut’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: Lyude Paul Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c index fd51527b56b83..bdcfd240d61c8 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c @@ -169,7 +169,7 @@ headc57d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) writew(readw(mem - 4), mem + 4); } -bool +static bool headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) { if (size != 0 && size != 256 && size != 1024) -- 2.25.1