|
@@ -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;
|