drm/nouveau/device: type-safe register accessor macros
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:08 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:13 +0000 (12:40 +1000)
commitdd64694208d7c902ba7a5bcd2bf012c1087ba0f0
tree610e52f114e75dc55d7ef3ba9ab80228fa90ec58
parent8699745a2bc143eee429c556d631e8e5be5dc009
drm/nouveau/device: type-safe register accessor macros

These require an explit struct nvkm_device pointer, unlike the previous
macros which take a void *, and assume it's any old nvkm_subdev.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/device.h