From patchwork Tue Jan 9 20:33:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 10153263 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 28AE5601A1 for ; Tue, 9 Jan 2018 20:33:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26C22201A4 for ; Tue, 9 Jan 2018 20:33:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A48420499; Tue, 9 Jan 2018 20:33:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E67DD201A4 for ; Tue, 9 Jan 2018 20:33:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 466966E153; Tue, 9 Jan 2018 20:33:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id C5A516E153 for ; Tue, 9 Jan 2018 20:33:22 +0000 (UTC) Received: by mail-pf0-x243.google.com with SMTP id m26so9380928pfj.11 for ; Tue, 09 Jan 2018 12:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=OUS9qZK4oaOoXdRVdasSpXICF23odRHCPpRpvwrXWIQ=; b=RygnpgKjev6E1VODI4OxFdqhiMx4i+rfhlhRRB82FjKtr/GvaYFkhF6DyMnv8k7fkY 8mPZgysJpzK9yAt5rUwFwyKnroDjvTaeF+7sDWcE/Qjop/HY+77TtYcrLtgaGNZbGPkq uNlafL2sWodhoTDzdvZSGcFw2OxOhPnICF4QE= 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; bh=OUS9qZK4oaOoXdRVdasSpXICF23odRHCPpRpvwrXWIQ=; b=JaIoxfQYQsqVSMsb5YDxj4IIZFbbcOfTdkLdbbtCwpsnnQ1QAdCiX1+oaTBEm6zkSf IEc5KbcJMwRhFBN5ZkzA6f+cRoTsCLSmTq642QvtnUMnyaE4/Rjwr3wiqeutj42rckE/ sIV39g7ZsyiPVCa4O2sUrBuqB2v8xD6enMKjhblmhxk/pukckk7lvNEhDIA0mJ4iwTr/ tCzJejy7++22XxPRQVHvdSuoDGiKp8EKbl4DCh1hSJWGZmI6eaVYrWYMUurePrwiLj0r F8l68BihydmsXVfQ/vZFKCXgPH6JRW4l4Bj+auWDJVKEeAVt85HTn//POfF4LnR0TedP gWkQ== X-Gm-Message-State: AKGB3mI0mE/L0BeGY9M368+yvkjS+019VVTvt17oLqPfGgXd+Y38VY3u 1UVAPEPFnL/QAsdzqjQpjWblaA== X-Google-Smtp-Source: ACJfBouTlLW0irELAKeRS7psW1ChNaVxm3aUFesB6v+rRZN/GXTfKcOg+/cu/ARND5NXdFlDvYm+4Q== X-Received: by 10.84.240.198 with SMTP id l6mr8929212plt.97.1515530002453; Tue, 09 Jan 2018 12:33:22 -0800 (PST) Received: from ban.mtv.corp.google.com ([172.22.113.17]) by smtp.gmail.com with ESMTPSA id n76sm10628699pfh.95.2018.01.09.12.33.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 12:33:22 -0800 (PST) From: Brian Norris To: Archit Taneja , Andrzej Hajda , Laurent Pinchart Subject: [PATCH] drm/bridge/synopsys: dsi: make dw_mipi_dsi_bridge_mode_set() static Date: Tue, 9 Jan 2018 12:33:19 -0800 Message-Id: <20180109203319.139520-1-briannorris@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog Cc: hl@rock-chips.com, David Airlie , Brian Norris , hoegsberg@gmail.com, Philippe Cornu , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yannick Fertre , linux-rockchip@lists.infradead.org, Nickey Yang , mka@chromium.org, zyw@rock-chips.com, xbl@rock-chips.com, Vincent Abriou X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP sparse complains: drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c:703:6: warning: symbol 'dw_mipi_dsi_bridge_mode_set' was not declared. Should it be static? Signed-off-by: Brian Norris Reviewed-by: Philippe Cornu --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c index 90f13df6f106..d60a77e98b57 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c @@ -700,9 +700,9 @@ static void dw_mipi_dsi_bridge_post_disable(struct drm_bridge *bridge) pm_runtime_put(dsi->dev); } -void dw_mipi_dsi_bridge_mode_set(struct drm_bridge *bridge, - struct drm_display_mode *mode, - struct drm_display_mode *adjusted_mode) +static void dw_mipi_dsi_bridge_mode_set(struct drm_bridge *bridge, + struct drm_display_mode *mode, + struct drm_display_mode *adjusted_mode) { struct dw_mipi_dsi *dsi = bridge_to_dsi(bridge); const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops;