drm: arcpgu: arc_pgu_crtc_mode_valid() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 23 Jun 2017 09:54:18 +0000 (17:54 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Jun 2017 10:29:32 +0000 (12:29 +0200)
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
drivers/gpu/drm/arc/arcpgu_crtc.c

index 99fbdaecf10020e2f14f97becb1f833e3598a9ca..611af74a31c05ddace0d72cd2c1111d4595d44a2 100644 (file)
@@ -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;