[PATCH] radeon: Expose backlight class device for legacy LVDS encoder
Michel Dänzer
michel at daenzer.net
Mon Sep 13 00:54:31 PDT 2010
On Mit, 2010-09-08 at 12:32 -0400, Matthew Garrett wrote:
> From: Michel Dänzer <michel at daenzer.net>
>
> Allows e.g. power management daemons to control the backlight level. Inspired
> by the corresponding code in radeonfb.
>
> (Updated to add backlight type and make the connector the parent device - mjg)
>
> Signed-off-by: Michel Dänzer <daenzer at vmware.com>
> Signed-off-by: Matthew Garrett <mjg at redhat.com>
Thanks for picking this up, Matthew.
Unfortunately, it fails to build here:
CC [M] drivers/gpu/drm/radeon/radeon_legacy_encoders.o
drivers/gpu/drm/radeon/radeon_legacy_encoders.c: In function ‘radeon_legacy_backlight_init’:
drivers/gpu/drm/radeon/radeon_legacy_encoders.c:358: error: implicit declaration of function ‘pmac_has_backlight_type’
drivers/gpu/drm/radeon/radeon_legacy_encoders.c:403: error: implicit declaration of function ‘machine_is_compatible’
make[1]: *** [drivers/gpu/drm/radeon/radeon_legacy_encoders.o] Error 1
make: *** [_module_drivers/gpu/drm/radeon] Error 2
Am I missing changes from another tree?
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the dri-devel
mailing list