Skip to content

Commit

Permalink
drm/nouveau/dispnv04: fix build on powerpc
Browse files Browse the repository at this point in the history
align with mask code in overlay.c, Ben can clean the naming
up later if necessary.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Aug 28, 2015
1 parent 4b9e78b commit 92cffd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/dispnv04/dfp.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode)
{
#ifdef __powerpc__
struct drm_device *dev = encoder->dev;
struct nvif_device *device = &nouveau_drm(dev)->device;
struct nvif_object *device = &nouveau_drm(dev)->device.object;

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

0 comments on commit 92cffd5

Please sign in to comment.