mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d6dd9eb1d9
commit
d93c623354
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue