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: 10153267 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 DB395601A1 for ; Tue, 9 Jan 2018 20:33:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D77B6201A4 for ; Tue, 9 Jan 2018 20:33:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBCDF20499; Tue, 9 Jan 2018 20:33:36 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 637AC201A4 for ; Tue, 9 Jan 2018 20:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=pBV53lFZIIJgK8dpOSPQox2OmgX1fbDVRW9Kkkq7L+k=; b=MNH lhrRWvwW+0ALVudN34wd8Y1QvMee9S+gJ9yC3BTIAMbzSpO1B5WjGogQibur5RfSW9F7StmTePI3n R8Zku6YyUWoh9pth+XO1z2IeJF69rd88T4ZgmuxcQ6FcsbvJ3L/he6A0BOvbWZAYDUrqOxpW14HIu qqiuPPBsSWGuFu+qRlLOySPzjBNSF4xH3m+E1xQQ4jn+y7U3/7YlL0f1WBNkRFm/db7cRHfgDvsfn rPcBz0PbUJZJWKGX+gew+HEES9aVba2rgDJRb/foDvbLkiN1nHg02UoLzD594w2nTmeeEMG1+pYAY DMN1zFeHYVh6kIB7w3tqqNFxQrBlcOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eZ0aV-0000Zf-QT; Tue, 09 Jan 2018 20:33:35 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZ0aS-0000WY-Vo for linux-rockchip@lists.infradead.org; Tue, 09 Jan 2018 20:33:34 +0000 Received: by mail-pf0-x244.google.com with SMTP id i66so2437729pfd.7 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=Sv+m/9fhkg3WR2qzcYdT6rolvtbMVZ8PlKBTtkoxs+QUU4M4AhSwhahZBo9+/+WsMk dAqxObzj8oPtq5foTiClBhUCGCN0/lpufFiFMt5zpxmg3wng1OO+UXezjgl4wL5wIKkD 3eBlC7VV00rs5wl0yeonmIINQICT5PC5wyi5yIcRkvLpCeAVNmyfoHL9q01bO5zBKtJ9 eSNW95jilE3qFT4TN1RzJvcQ8UM9knWPwsIrhTRp1XOIe0XiGlWp9D/hcoM+mDS64Jzc fwRjvmx9J/PKueN6wVdn2/A2TaQi+6e99XURtDS+O56UOaA0WK7k0KQ/u9Jym7o2pKpR +bkg== X-Gm-Message-State: AKGB3mL3SN9B/w9wepp9Tvbq5X0Wils8Vh3qpGRFi1HfNAgiOZu2a+Cx 7fCOvnrTXunqJo89fMdwvPQUmA== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180109_123333_034868_FA39458A X-CRM114-Status: UNSURE ( 7.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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, Sean Paul , zyw@rock-chips.com, xbl@rock-chips.com, Vincent Abriou MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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;