Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp31266pxb; Tue, 12 Jan 2021 19:05:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyoVMVEghX6GWZPip1TTh9tSQY3ugICXMeaOwEfbyCFof+zhmja2DHS1bVbBnbPpzF7eiqk X-Received: by 2002:a05:6402:1696:: with SMTP id a22mr63356edv.385.1610507155973; Tue, 12 Jan 2021 19:05:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610507155; cv=none; d=google.com; s=arc-20160816; b=xYubmNACz9xGiX+rQBqyygxAz9J9V2B/Qtrvu1zpteFLL3lQxlWn8eFrpIwP+6L1Rw +HBqHk++y2HhRQU1/ZXRrjRnJR749LCR3y5K72uWVwBE33HxsSWhaNMiTMGlqUoQejIa A1AigMOqHOKTEPXJ9zCiGpuUm3YdRb9dZ+qNR521LRAjnOZO1e0EX3d/3IcytcPUeXqt 4pMzg4ojgAb67/dsn5ZwaTIhhikz/IdP238+uk8eegf58XsZ3Z8Ct353R9dbxA7k2M0Y uTFJXGzPSDx2+q0aBSXsO9fwr3gV5Cj4BdkDC1GUyP9gcPRHcvmScgaK8gSYoWzrqVcW 2d5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=dUzHjSUJNwPOYe2P1SOY3ZnGPOkWoC76PQ0dv7QwL7Q=; b=mrm8SOSWevTNJOilnYJhmrCzD8G6yJFMNj25BdGe3n2xgQckBUcQc1+yRowPi+A58u uuVqesOPhMBLOPNikjYmOsjF9MjU/JdgfVy6u0OqkcilmRrtaHy3HcZGgdUdJbVC9YEy gpjI8b4ozE23WbVkJxo/ypMR6AhCREJF8Y1Ljb+v+yN97TWuXHYUjKnyqZDWNKSmQTFR X29abfYOKRXYlAhqL41UBChqdHhXJfjHZCYnx8/NWg36O9SjkWWs0NlAxQp8GiH+MJw4 aTI/sgBQ346boJ6s7afDMIvqty1Hu/YMmk5nDBnb6iCIK1KQr/AN/D2owIX2P4OIj4aw QKvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TmKOQkDt; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si255388eja.462.2021.01.12.19.05.32; Tue, 12 Jan 2021 19:05: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=@gmail.com header.s=20161025 header.b=TmKOQkDt; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438187AbhALWP7 (ORCPT + 99 others); Tue, 12 Jan 2021 17:15:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436707AbhALWOv (ORCPT ); Tue, 12 Jan 2021 17:14:51 -0500 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09F96C061794 for ; Tue, 12 Jan 2021 14:14:11 -0800 (PST) Received: by mail-oi1-x22a.google.com with SMTP id q205so4002546oig.13 for ; Tue, 12 Jan 2021 14:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=dUzHjSUJNwPOYe2P1SOY3ZnGPOkWoC76PQ0dv7QwL7Q=; b=TmKOQkDtlN2s867X3fJQaHMdBc/6iL5fV/QbW7EFO1gs4S8QzpfqGp2XU8LKIWhlcv /Gm7yOpxCdS2FxLeFLlJpTtqbVfFpiv69eo8p4aAcE5kjXRdwYIqdnCNINYlQfD+tXuc SIr+cUHULmbmXLHqCeDi6efl0aX8cJgOOpDTU6J1+3+kHrLrQKmgm06LFKxWPidMHeNv XSAWM9l5D2x7iFqvQpSz4Rt9TKMyfkawfHvEUXCdQRC/TKWOOx3Gc/3CTxUIoJnH3rCH 1GC0GJu8dYKgTxPY2AtGSneHAalqnPtzpZAD5i9CSZc1BX8kv0v26uqkjn4mqYqTYEIU VG4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dUzHjSUJNwPOYe2P1SOY3ZnGPOkWoC76PQ0dv7QwL7Q=; b=MOJ+jTw+1MRUCp1pNtV0iNunXYMcHV0JL6IacOcMykkT0Z9PrW+D/r3R2cMICfejIt pWlvhrh0lriYw/by7Y/p5c7qRwVrdSyUPs4APTh23ehnoyQPoMpaHQt1gPs/9V0yhkVo pBvyxhv0Y3S39iVR2EDDfXlhOhoEfBq9B11bP8xuD8syYWnhWongY1ravo+LckrroYxL TW8bXwVFSVxB2N3oYzPHrD971SguCZEX1vn6WB6WMGS5D7JEE8I93Y3ymSlgOsy2lmP2 afWqoX40cESNPd80HBxwTVWbQC3HP6tzC4CfGy0et/MZt1qLilZ/RR9mea/lfB8hUs05 hFoQ== X-Gm-Message-State: AOAM530e67/nbgE0LSLhH9oF00TQhfiU8eCoADS1t8gza0QnM1Hc0DxT yRB5iH4MsR4YrNug65qF08xzWuPfqSb/lhljhRY= X-Received: by 2002:aca:4f97:: with SMTP id d145mr783979oib.123.1610489650371; Tue, 12 Jan 2021 14:14:10 -0800 (PST) MIME-Version: 1.0 References: <20210111191926.3688443-1-lee.jones@linaro.org> <20210111191926.3688443-16-lee.jones@linaro.org> In-Reply-To: <20210111191926.3688443-16-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 12 Jan 2021 17:13:58 -0500 Message-ID: Subject: Re: [PATCH 15/40] drm/amd/display/dc/dce120/dce120_resource: Staticify local functions To: Lee Jones Cc: Leo Li , Anthony Koo , LKML , amd-gfx list , David Airlie , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 2:20 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_resource.c:426:32= : warning: no previous prototype for =E2=80=98dce120_opp_create=E2=80=99 [-= Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_resource.c:440:17= : warning: no previous prototype for =E2=80=98dce120_aux_engine_create=E2= =80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_resource.c:478:20= : warning: no previous prototype for =E2=80=98dce120_i2c_hw_create=E2=80=99= [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Anthony Koo > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c b/dr= ivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c > index f1e3d2888eacc..c65e4d125c8e2 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c > +++ b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c > @@ -423,7 +423,7 @@ static const struct dce110_clk_src_mask cs_mask =3D { > CS_COMMON_MASK_SH_LIST_DCE_112(_MASK) > }; > > -struct output_pixel_processor *dce120_opp_create( > +static struct output_pixel_processor *dce120_opp_create( > struct dc_context *ctx, > uint32_t inst) > { > @@ -437,7 +437,7 @@ struct output_pixel_processor *dce120_opp_create( > ctx, inst, &opp_regs[inst], &opp_shift, &opp= _mask); > return &opp->base; > } > -struct dce_aux *dce120_aux_engine_create( > +static struct dce_aux *dce120_aux_engine_create( > struct dc_context *ctx, > uint32_t inst) > { > @@ -475,7 +475,7 @@ static const struct dce_i2c_mask i2c_masks =3D { > I2C_COMMON_MASK_SH_LIST_DCE110(_MASK) > }; > > -struct dce_i2c_hw *dce120_i2c_hw_create( > +static struct dce_i2c_hw *dce120_i2c_hw_create( > struct dc_context *ctx, > uint32_t inst) > { > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel