Re: [PATCH] radeon: Expose backlight class device for legacy LVDSencoder

From: Michel Dänzer
Date: Mon Sep 13 2010 - 04:03:40 EST


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

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/