diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-09-23 15:00:40 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 02:29:36 -0400 |
commit | 66146da06643d8ee89bc5255fb0254006e3d0e79 (patch) | |
tree | 7cc84d257544047bacb3aa618dd39ab7fc20180c /drivers/gpu/drm/nouveau/nouveau_i2c.h | |
parent | 8155cac489eb8cc6fd96b9bdefacdf5a56e6ea32 (diff) |
drm/nouveau: Add support for I2C hardware monitoring devices.
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.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_i2c.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_i2c.h b/drivers/gpu/drm/nouveau/nouveau_i2c.h index f71cb32f7571..c77a6ba66b7c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_i2c.h +++ b/drivers/gpu/drm/nouveau/nouveau_i2c.h | |||
@@ -44,7 +44,10 @@ void nouveau_i2c_fini(struct drm_device *, struct dcb_i2c_entry *); | |||
44 | struct nouveau_i2c_chan *nouveau_i2c_find(struct drm_device *, int index); | 44 | struct nouveau_i2c_chan *nouveau_i2c_find(struct drm_device *, int index); |
45 | bool nouveau_probe_i2c_addr(struct nouveau_i2c_chan *i2c, int addr); | 45 | bool nouveau_probe_i2c_addr(struct nouveau_i2c_chan *i2c, int addr); |
46 | int nouveau_i2c_identify(struct drm_device *dev, const char *what, | 46 | int nouveau_i2c_identify(struct drm_device *dev, const char *what, |
47 | struct i2c_board_info *info, int index); | 47 | struct i2c_board_info *info, |
48 | bool (*match)(struct nouveau_i2c_chan *, | ||
49 | struct i2c_board_info *), | ||
50 | int index); | ||
48 | 51 | ||
49 | extern const struct i2c_algorithm nouveau_dp_i2c_algo; | 52 | extern const struct i2c_algorithm nouveau_dp_i2c_algo; |
50 | 53 | ||