mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 05:04:20 +00:00
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
This commit is contained in:
parent
8f6ece97da
commit
2bf5ccc25c
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ static const struct drm_crtc_funcs arc_pgu_crtc_funcs = {
|
||||||
.atomic_destroy_state = drm_atomic_helper_crtc_destroy_state,
|
.atomic_destroy_state = drm_atomic_helper_crtc_destroy_state,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum drm_mode_status arc_pgu_crtc_mode_valid(struct drm_crtc *crtc,
|
static enum drm_mode_status arc_pgu_crtc_mode_valid(struct drm_crtc *crtc,
|
||||||
const struct drm_display_mode *mode)
|
const struct drm_display_mode *mode)
|
||||||
{
|
{
|
||||||
struct arcpgu_drm_private *arcpgu = crtc_to_arcpgu_priv(crtc);
|
struct arcpgu_drm_private *arcpgu = crtc_to_arcpgu_priv(crtc);
|
||||||
long rate, clk_rate = mode->clock * 1000;
|
long rate, clk_rate = mode->clock * 1000;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue