Commit 8e18db81 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Dave Airlie

gma500: psb_irq: mark mid_{enable, disable}_pipe_event() as static

Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f42aaa6f
...@@ -115,7 +115,7 @@ psb_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask) ...@@ -115,7 +115,7 @@ psb_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask)
} }
} }
void mid_enable_pipe_event(struct drm_psb_private *dev_priv, int pipe) static void mid_enable_pipe_event(struct drm_psb_private *dev_priv, int pipe)
{ {
if (gma_power_begin(dev_priv->dev, false)) { if (gma_power_begin(dev_priv->dev, false)) {
u32 pipe_event = mid_pipe_event(pipe); u32 pipe_event = mid_pipe_event(pipe);
...@@ -126,7 +126,7 @@ void mid_enable_pipe_event(struct drm_psb_private *dev_priv, int pipe) ...@@ -126,7 +126,7 @@ void mid_enable_pipe_event(struct drm_psb_private *dev_priv, int pipe)
} }
} }
void mid_disable_pipe_event(struct drm_psb_private *dev_priv, int pipe) static void mid_disable_pipe_event(struct drm_psb_private *dev_priv, int pipe)
{ {
if (dev_priv->pipestat[pipe] == 0) { if (dev_priv->pipestat[pipe] == 0) {
if (gma_power_begin(dev_priv->dev, false)) { if (gma_power_begin(dev_priv->dev, false)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment