diff options
author | Brian Norris <briannorris@chromium.org> | 2018-01-09 12:33:19 -0800 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2018-01-16 11:42:02 +0530 |
commit | 552de1bf4daea12eb3aec69763da8f4ad9d87258 (patch) | |
tree | 82a4434f194ef545df33495cf70caf793ff8cf98 /drivers/gpu/drm/bridge | |
parent | 10399b22c1a0e0bbbf56460447e7e602737b0058 (diff) | |
download | linux-552de1bf4daea12eb3aec69763da8f4ad9d87258.tar.gz linux-552de1bf4daea12eb3aec69763da8f4ad9d87258.tar.bz2 linux-552de1bf4daea12eb3aec69763da8f4ad9d87258.zip |
drm/bridge/synopsys: dsi: make dw_mipi_dsi_bridge_mode_set() static
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?
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180109203319.139520-1-briannorris@chromium.org
Diffstat (limited to 'drivers/gpu/drm/bridge')
-rw-r--r-- | drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 |
1 files 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 c39c7dce20ed..247605271d41 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c @@ -746,9 +746,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; |