Skip to content

Commit 92cffd5

Browse files
committed
drm/nouveau/dispnv04: fix build on powerpc
align with mask code in overlay.c, Ben can clean the naming up later if necessary. Signed-off-by: Dave Airlie <[email protected]>
1 parent 4b9e78b commit 92cffd5

File tree

1 file changed

+1
-1
lines changed
  • drivers/gpu/drm/nouveau/dispnv04

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/dispnv04/dfp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode)
485485
{
486486
#ifdef __powerpc__
487487
struct drm_device *dev = encoder->dev;
488-
struct nvif_device *device = &nouveau_drm(dev)->device;
488+
struct nvif_object *device = &nouveau_drm(dev)->device.object;
489489

490490
/* BIOS scripts usually take care of the backlight, thanks
491491
* Apple for your consistency.

0 commit comments

Comments
 (0)