projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b9e78b
)
drm/nouveau/dispnv04: fix build on powerpc
author
Dave Airlie
<airlied@redhat.com>
Fri, 28 Aug 2015 10:33:58 +0000
(20:33 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 28 Aug 2015 10:33:58 +0000
(20:33 +1000)
align with mask code in overlay.c, Ben can clean the naming
up later if necessary.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/dispnv04/dfp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/dispnv04/dfp.c
b/drivers/gpu/drm/nouveau/dispnv04/dfp.c
index 522e91ab53607508ec3752c3302267e3b23e94b2..429ab5e3025a621c1d2a580880e87b5993d95ea0 100644
(file)
--- 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.