diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-08-20 14:54:20 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 12:37:42 +1000 |
commit | de4dfdc733e0deb391a0707e009ad5d78781647b (patch) | |
tree | 8d8646681269ee8f8b5b254e585954294e01fee9 /drm/nouveau/include/nvif | |
parent | bd5dde44bddd50374313ad91b59f44d00262c3d9 (diff) | |
download | nouveau-de4dfdc733e0deb391a0707e009ad5d78781647b.tar.gz |
i2c: convert to new-style nvkm_subdev
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/include/nvif')
-rw-r--r-- | drm/nouveau/include/nvif/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/include/nvif/device.h b/drm/nouveau/include/nvif/device.h index 6cc9c6583..66d1bc23f 100644 --- a/drm/nouveau/include/nvif/device.h +++ b/drm/nouveau/include/nvif/device.h @@ -56,7 +56,7 @@ u64 nvif_device_time(struct nvif_device *); #define nvxx_bar(a) nvxx_device(a)->bar #define nvxx_gpio(a) nvxx_device(a)->gpio #define nvxx_clk(a) nvxx_device(a)->clk -#define nvxx_i2c(a) nvkm_i2c(nvxx_device(a)) +#define nvxx_i2c(a) nvxx_device(a)->i2c #define nvxx_therm(a) nvkm_therm(nvxx_device(a)) #include <core/device.h> |