mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 03:40:04 +00:00
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 <airlied@redhat.com>
This commit is contained in:
parent
4b9e78bd9f
commit
92cffd56b2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue