aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-08-28 20:33:58 +1000
committerDave Airlie <airlied@redhat.com>2015-08-28 20:33:58 +1000
commit92cffd56b21c825579f3b37bc7803e4c37073076 (patch)
tree9b3de1e7a7cc1e66f9a7929563c0b33a1a98ec22
parent4b9e78bd9f0efcf9e82b4886de7a4289dbf3cffe (diff)
downloaddrm-exynos-92cffd56b21c825579f3b37bc7803e4c37073076.tar.gz
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>
-rw-r--r--drivers/gpu/drm/nouveau/dispnv04/dfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv04/dfp.c b/drivers/gpu/drm/nouveau/dispnv04/dfp.c
index 522e91ab536075..429ab5e3025a62 100644
--- a/drivers/gpu/drm/nouveau/dispnv04/dfp.c
+++ b/drivers/gpu/drm/nouveau/dispnv04/dfp.c
@@ -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.