aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-08-20 08:23:26 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-08 05:23:57 -0400
commit995b6762f0fd54377bbfafdf5328b12de698bfa8 (patch)
tree4942552ec93f77e7c083885e38083db2cdcd9821 /drivers/gpu/drm/i915/i915_irq.c
parentde227ef0907258359d53e3e1530c1f3678eb2bb9 (diff)
drm/i915: Quieten sparse warnings for missing prototypes.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 080ea3b162cd..29215b6d5650 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -85,7 +85,7 @@ ironlake_disable_graphics_irq(drm_i915_private_t *dev_priv, u32 mask)
85} 85}
86 86
87/* For display hotplug interrupt */ 87/* For display hotplug interrupt */
88void 88static void
89ironlake_enable_display_irq(drm_i915_private_t *dev_priv, u32 mask) 89ironlake_enable_display_irq(drm_i915_private_t *dev_priv, u32 mask)
90{ 90{
91 if ((dev_priv->irq_mask_reg & mask) != 0) { 91 if ((dev_priv->irq_mask_reg & mask) != 0) {
@@ -305,7 +305,7 @@ static void i915_handle_rps_change(struct drm_device *dev)
305 return; 305 return;
306} 306}
307 307
308irqreturn_t ironlake_irq_handler(struct drm_device *dev) 308static irqreturn_t ironlake_irq_handler(struct drm_device *dev)
309{ 309{
310 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private; 310 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
311 int ret = IRQ_NONE; 311 int ret = IRQ_NONE;
@@ -1315,7 +1315,7 @@ int i915_vblank_swap(struct drm_device *dev, void *data,
1315 return -EINVAL; 1315 return -EINVAL;
1316} 1316}
1317 1317
1318struct drm_i915_gem_request * 1318static struct drm_i915_gem_request *
1319i915_get_tail_request(struct drm_device *dev) 1319i915_get_tail_request(struct drm_device *dev)
1320{ 1320{
1321 drm_i915_private_t *dev_priv = dev->dev_private; 1321 drm_i915_private_t *dev_priv = dev->dev_private;