summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorChanglong Xie <changlongx.xie@intel.com>2013-01-31 11:32:50 +0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-31 11:50:12 +0100
commitd93c6233543cdab83eca4d0590737c3e99314fd6 (patch)
treed867f10a91cc397864c0d5774022d8cddec6d10f /drivers/gpu/drm/i915
parentd6dd9eb1d96d2b7345fe4664066c2b7ed86da898 (diff)
drm/i915: gen6_gmch_remove can be static
Signed-off-by: Changlong Xie <changlongx.xie@intel.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_gtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 71f09a8a00f4..bdaca3f47988 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -773,7 +773,7 @@ static int gen6_gmch_probe(struct drm_device *dev,
return ret;
}
-void gen6_gmch_remove(struct drm_device *dev)
+static void gen6_gmch_remove(struct drm_device *dev)
{
struct drm_i915_private *dev_priv = dev->dev_private;
iounmap(dev_priv->gtt.gsm);