On Mit, 2010-09-08 at 12:32 -0400, Matthew Garrett wrote:
From: Michel Dänzer michel@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@vmware.com Signed-off-by: Matthew Garrett mjg@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?