drm/i915: gen6_gmch_remove can be static
authorChanglong Xie <changlongx.xie@intel.com>
Thu, 31 Jan 2013 03:32:50 +0000 (11:32 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 Jan 2013 10:50:12 +0000 (11:50 +0100)
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>
drivers/gpu/drm/i915/i915_gem_gtt.c

index 71f09a8a00f4a6e35a588e45c5222a6f94221eb8..bdaca3f4798829c62b7518a104b84a581a3036bd 100644 (file)
@@ -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);