Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp579053pxb; Fri, 8 Jan 2021 12:20:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2+ZSPIcsYCfBabiwV6J2uDqUyLViVwfVdKVuonu39nvA5HmqzEGBQ7cQHEA4XXvYPm/bb X-Received: by 2002:a17:906:6606:: with SMTP id b6mr3650129ejp.151.1610137255482; Fri, 08 Jan 2021 12:20:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610137255; cv=none; d=google.com; s=arc-20160816; b=kksVFAw6C3/GSg3WFMeu2Qkw1wixVhefDYEUZh2Gj5hdS4nPCXLK2Ak0XJQyyU4wbh AmMOmxXLq7vkcfAteuOdUsMsu79l4rd4zgcRfewVY0QStOLyxPSuSQw2Pq6zfX+kjjj3 pclezSSR1+CI9+YK/KU9YOnNubtzHXvvOcBmScEZifAP77Zw6MXQAmsZtdcNCbr2oaUh PUP8Kqn2njyFqNArq39gcZEp/qv6Y5bO60nCeFBK20FIuM2W9GiTEykN95RrL4pgAS4p gquhzDyyUmiiZbcBp8rB0VBWMcnyIJYeHspvoG6Pp9bBBPMuuPWwBHIcKn0XCyk8O+Rx h6qw== 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=YEfovM2NKT8ag9TvqZ5TvTpEztKPhuBS/BnjHfStf3g=; b=h3BgvCpb5h0S+utCBGmVyoGV9VEOL9DsjB9PjXT5Vrecdorb7sb6pSK9VetlYjBYQa qFnpg6zeqnrE6Lxo1OMgTAMpaEByBzYizxn0QuPpOsAkvBg7A24qeBngVPaP6N1yEojf pHZVByIlrbyOaAi2mDCgVH1UeML5+ErYt/1mmYFc13gUXRUZ6Dn4NhzMMyfXgqbaiHxb nLb0GcWWlrEnY+UAn7WCFJxY/wtolfxhKnxArQtIv+HemRTYnxfm15+07O5Y4hVmOT7b DxPaWzO9rDLHQVoTHzkwIlXRxAomVsozOFMZEXeoimXVDA6Vk0PpmCedP52dseRDt7wB z3fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qrFDHa6U; 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 c9si4140676edr.4.2021.01.08.12.20.31; Fri, 08 Jan 2021 12:20:55 -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=qrFDHa6U; 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 S1729463AbhAHUR2 (ORCPT + 99 others); Fri, 8 Jan 2021 15:17:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729416AbhAHURK (ORCPT ); Fri, 8 Jan 2021 15:17:10 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7CF4C0612EA for ; Fri, 8 Jan 2021 12:15:47 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id v14so8751000wml.1 for ; Fri, 08 Jan 2021 12:15:47 -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=YEfovM2NKT8ag9TvqZ5TvTpEztKPhuBS/BnjHfStf3g=; b=qrFDHa6UMrCuOW/PtBirv0Ncr1vLCDJC57MzIwvydzI8tYtfDhmCZvdRcq+JEaYKFj j7lHElH8pycb5tVBNhvAACygNyfntQryXRiD4cAGiUtrML6OGIBkIDaIUyn/bH1pT3Nk mbEUKAeUZDcLk7U/O4lCYCQ20NPOfui8QBFwVFHzmaRu0QeeN2Og9A741HgBzdhG8grL 0Fa4ls1CABD03p++A9w9y1DX1LB3k/YCpqruWCGpbWMhT8gYBlG0FkPBdY7CY2TJ6Rv7 zdjgfbCO6oeuAuaxBG8OZL7CZTm5vMaWRgC+QgxY4dNb3Qyr3OJHAc71TYnJp9bl2noX xv7Q== 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=YEfovM2NKT8ag9TvqZ5TvTpEztKPhuBS/BnjHfStf3g=; b=UM3PvFBXhlhraPaj6gkj40i0oHHaxnoB+FduMemeVbdegLuKD3veT+z5/PwvwU7Ldx /Mpxlwko0e0hNahNV3cJAYGfe3XaWeJJLzuf/gghRUo2Ovixp5dQJTadGKkItFIkAN47 xkPzWCsHiIc2/zx5bFxBnFBqQLg4gXI2pj/Tz47izWTOBvgftQiqhwhV1igtrdh3Y0sF b7BuSUVBArueP9x5b7fhrpRopk17DAfa0Mr22Vj0N7JzBPZEkPyFKlQi99nblsyZbGIT pJI/2RMtTidr04rafVAuZfGhyDK/4AUmy7ywijLebJtKSsx2/IPpYajWai/lavSbNAs1 3UIg== X-Gm-Message-State: AOAM532yBE5b/uu6efnk59L0Lyk3uCHz8m2/eJI70j8SCajG8wASJ7MO shrJGhzOmcZV8VSzFfxHDwSPLtBpp8AJwq8q X-Received: by 2002:a1c:87:: with SMTP id 129mr4460111wma.183.1610136946590; Fri, 08 Jan 2021 12:15:46 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Krunoslav Kovac , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 29/40] drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram' Date: Fri, 8 Jan 2021 20:14:46 +0000 Message-Id: <20210108201457.3078600-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-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/amd/amdgpu/../display/dc/dce/dce_dmcu.c:74:6: warning: no previous prototype for ‘dce_dmcu_load_iram’ [-Wmissing-prototypes] In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:31: Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Krunoslav Kovac Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c index f3ed8b619cafd..fa2b47d41ee2f 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c @@ -71,7 +71,7 @@ static bool dce_dmcu_init(struct dmcu *dmcu) return true; } -bool dce_dmcu_load_iram(struct dmcu *dmcu, +static bool dce_dmcu_load_iram(struct dmcu *dmcu, unsigned int start_offset, const char *src, unsigned int bytes) -- 2.25.1