summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arc
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2017-06-23 11:54:18 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-23 12:29:32 +0200
commit2bf5ccc25c5bc3c8eaf30c589f7d3a5e7490d3b9 (patch)
tree8c72c59b5a4c519b5d33131543482aff6daa99e8 /drivers/gpu/drm/arc
parentdrm/mxsfb: Drop drm_vblank_cleanup (diff)
downloadlinux-2bf5ccc25c5bc3c8eaf30c589f7d3a5e7490d3b9.tar.xz
linux-2bf5ccc25c5bc3c8eaf30c589f7d3a5e7490d3b9.zip
drm: arcpgu: arc_pgu_crtc_mode_valid() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170623095418.GA68865@lkp-sbx04
Diffstat (limited to 'drivers/gpu/drm/arc')
-rw-r--r--drivers/gpu/drm/arc/arcpgu_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/arc/arcpgu_crtc.c b/drivers/gpu/drm/arc/arcpgu_crtc.c
index 99fbdaecf100..611af74a31c0 100644
--- a/drivers/gpu/drm/arc/arcpgu_crtc.c
+++ b/drivers/gpu/drm/arc/arcpgu_crtc.c
@@ -64,8 +64,8 @@ static const struct drm_crtc_funcs arc_pgu_crtc_funcs = {
.atomic_destroy_state = drm_atomic_helper_crtc_destroy_state,
};
-enum drm_mode_status arc_pgu_crtc_mode_valid(struct drm_crtc *crtc,
- const struct drm_display_mode *mode)
+static enum drm_mode_status arc_pgu_crtc_mode_valid(struct drm_crtc *crtc,
+ const struct drm_display_mode *mode)
{
struct arcpgu_drm_private *arcpgu = crtc_to_arcpgu_priv(crtc);
long rate, clk_rate = mode->clock * 1000;