drm/nouveau: fix build with nv50->nvc0
authorDave Airlie <airlied@redhat.com>
Thu, 2 May 2013 20:40:37 +0000 (06:40 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 20 May 2013 03:23:41 +0000 (13:23 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/core/engine/device/nve0.c

index 08f7b52..a354e40 100644 (file)
@@ -149,7 +149,7 @@ nve0_identify(struct nouveau_device *device)
                device->oclass[NVDEV_SUBDEV_CLOCK  ] = &nvc0_clock_oclass;
                device->oclass[NVDEV_SUBDEV_THERM  ] = &nvd0_therm_oclass;
                device->oclass[NVDEV_SUBDEV_MXM    ] = &nv50_mxm_oclass;
-               device->oclass[NVDEV_SUBDEV_DEVINIT] = &nvc0_devinit_oclass;
+               device->oclass[NVDEV_SUBDEV_DEVINIT] = &nv50_devinit_oclass;
                device->oclass[NVDEV_SUBDEV_MC     ] = &nvc0_mc_oclass;
                device->oclass[NVDEV_SUBDEV_BUS    ] = &nvc0_bus_oclass;
                device->oclass[NVDEV_SUBDEV_TIMER  ] = &nv04_timer_oclass;