summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_i2c.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-11-11 00:56:37 +0100
committerBen Skeggs <bskeggs@redhat.com>2010-11-18 14:39:04 +1000
commitc1b60ece91460214b5135360a375f3f6fbb59608 (patch)
tree9ff05300d7e160dc0dc57a2f272e668a0536962f /drivers/gpu/drm/nouveau/nouveau_i2c.c
parent5bead799d3f8f1500c4b59301b8a2732a92f559f (diff)
downloadblackbird-op-linux-c1b60ece91460214b5135360a375f3f6fbb59608.tar.gz
blackbird-op-linux-c1b60ece91460214b5135360a375f3f6fbb59608.zip
drm/nouveau: Fix a few confusions between "chipset" and "card_type".
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_i2c.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_i2c.c b/drivers/gpu/drm/nouveau/nouveau_i2c.c
index fdd7e3de79c8..cb389d014326 100644
--- a/drivers/gpu/drm/nouveau/nouveau_i2c.c
+++ b/drivers/gpu/drm/nouveau/nouveau_i2c.c
@@ -256,7 +256,7 @@ nouveau_i2c_find(struct drm_device *dev, int index)
if (index >= DCB_MAX_NUM_I2C_ENTRIES)
return NULL;
- if (dev_priv->chipset >= NV_50 && (i2c->entry & 0x00000100)) {
+ if (dev_priv->card_type >= NV_50 && (i2c->entry & 0x00000100)) {
uint32_t reg = 0xe500, val;
if (i2c->port_type == 6) {
OpenPOWER on IntegriCloud