summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_i2c.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-01-28 16:45:52 -0800
committerEric Anholt <eric@anholt.net>2010-02-26 13:23:20 -0800
commitc619eed4b2ee1b2bde3e02464eb81632a08bb976 (patch)
treeb017349c3626233d872b185efb38135f91b1abd5 /drivers/gpu/drm/i915/intel_i2c.c
parentfaa7bde6cb1227d13d011042f17bda0869c3bd1e (diff)
downloadlinux-c619eed4b2ee1b2bde3e02464eb81632a08bb976.tar.gz
linux-c619eed4b2ee1b2bde3e02464eb81632a08bb976.tar.bz2
linux-c619eed4b2ee1b2bde3e02464eb81632a08bb976.zip
drm/i915: More s/IS_IRONLAKE/HAS_PCH_SPLIT for Sandybridge.
I think this is pretty much correct. Not really tested. Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_i2c.c')
-rw-r--r--drivers/gpu/drm/i915/intel_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c
index 8673c735b8ab..fcc753ca5d94 100644
--- a/drivers/gpu/drm/i915/intel_i2c.c
+++ b/drivers/gpu/drm/i915/intel_i2c.c
@@ -128,7 +128,7 @@ intel_i2c_reset_gmbus(struct drm_device *dev)
{
struct drm_i915_private *dev_priv = dev->dev_private;
- if (IS_IRONLAKE(dev)) {
+ if (HAS_PCH_SPLIT(dev)) {
I915_WRITE(PCH_GMBUS0, 0);
} else {
I915_WRITE(GMBUS0, 0);