aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-02-16 15:21:58 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-02-20 16:01:01 +1000
commit7dcd060c0e6e4f76ce7eea94c66437ce8f546530 (patch)
tree0afc21c546a824349d9c462cbdfbb6788925f715 /drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
parentdrm/nv50-/disp: 0x0000 is a valid udisp config value (diff)
downloadlinux-dev-7dcd060c0e6e4f76ce7eea94c66437ce8f546530.tar.xz
linux-dev-7dcd060c0e6e4f76ce7eea94c66437ce8f546530.zip
drm/nouveau/i2c: create proper chipset-specific class implementations
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/therm/ic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/ic.c b/drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
index 95a63e12c52c..e24090bac195 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
@@ -31,7 +31,7 @@ static bool
probe_monitoring_device(struct nouveau_i2c_port *i2c,
struct i2c_board_info *info)
{
- struct nouveau_therm_priv *priv = (void *)nouveau_therm(i2c->i2c);
+ struct nouveau_therm_priv *priv = (void *)nouveau_therm(i2c);
struct i2c_client *client;
request_module("%s%s", I2C_MODULE_PREFIX, info->type);