diff --git a/drivers/gpu/drm/nouveau/core/subdev/timer/nv04.c b/drivers/gpu/drm/nouveau/core/subdev/timer/nv04.c index 8e1bae4..d8aae13 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/timer/nv04.c +++ b/drivers/gpu/drm/nouveau/core/subdev/timer/nv04.c @@ -170,9 +170,9 @@ nv04_timer_init(struct nouveau_object *object) d = 1000000 / 32; /* determine base clock for timer source */ -#if 0 /*XXX*/ +#if 1 /*XXX*/ if (device->chipset < 0x40) { - n = nouveau_hw_get_clock(device, PLL_CORE); + n = nouveau_hw_get_clock((struct drm_device *)pci_get_drvdata((nouveau_client(priv))->pdev), PLL_CORE); } else #endif if (device->chipset <= 0x40) {