OSDN Git Service

drm/nouveau/core: remove the remainder of the previous style
[uclinux-h8/linux.git] / drivers / gpu / drm / nouveau / include / nvif / device.h
index 5723102..900e492 100644 (file)
@@ -48,7 +48,11 @@ u64  nvif_device_time(struct nvif_device *);
 
 #define nvxx_device(a) ({                                                      \
        struct nvif_device *_device = (a);                                     \
-       nv_device(_device->object.priv);                                       \
+       struct {                                                               \
+               struct nvkm_object object;                                     \
+               struct nvkm_device *device;                                    \
+       } *_udevice = _device->object.priv;                                    \
+       _udevice->device;                                                      \
 })
 #define nvxx_bios(a) nvxx_device(a)->bios
 #define nvxx_fb(a) nvxx_device(a)->fb