commit | 98f3a1dcf8196c31786a2c0d5c57e42ebcd4abe0 | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Wed Dec 16 15:04:20 2015 +0200 |
committer | Jani Nikula <jani.nikula@intel.com> | Wed Dec 16 18:01:50 2015 +0200 |
tree | 91e425fb0da46eb1cf7f1257027d8a9170c453d2 | |
parent | 3556dd408232e1d0dea7e24eea217a3d1185bfc0 [diff] [blame] |
drm/i915/bios: prefer using dev_priv over dev pointer dev_priv is the new black. Or something. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1450271061-32646-3-git-send-email-jani.nikula@intel.com
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 9cb71b6..f75988f 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -370,7 +370,7 @@ struct drm_i915_private *dev_priv = dev->dev_private; int ret; - ret = intel_bios_init(dev); + ret = intel_bios_init(dev_priv); if (ret) DRM_INFO("failed to find VBIOS tables\n");