The patch titled radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update has been added to the -mm tree. Its filename is radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update From: Michel Dänzer <michel@xxxxxxxxxxx> v2: Fix problems when CONFIG_BACKLIGHT_CLASS_DEVICE isn't defined. (Updated to add backlight type and make the connector the parent device - mjg) Signed-off-by: Michel Dänzer <michel@xxxxxxxxxxx> Signed-off-by: Matthew Garrett <mjg@xxxxxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Cc: David Airlie <airlied@xxxxxxxx> Cc: Alex Deucher <alexdeucher@xxxxxxxxx> Cc: Ben Skeggs <bskeggs@xxxxxxxxxx> Cc: Zhang Rui <rui.zhang@xxxxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 2 +- drivers/gpu/drm/radeon/radeon_mode.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff -puN drivers/gpu/drm/radeon/radeon_legacy_encoders.c~radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update drivers/gpu/drm/radeon/radeon_legacy_encoders.c --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c~radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update +++ a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c @@ -460,7 +460,7 @@ static void radeon_legacy_backlight_exit #else /* !CONFIG_BACKLIGHT_CLASS_DEVICE */ -static void radeon_legacy_backlight_init(struct radeon_encoder *encoder) +void radeon_legacy_backlight_init(struct radeon_encoder *encoder) { } diff -puN drivers/gpu/drm/radeon/radeon_mode.h~radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update drivers/gpu/drm/radeon/radeon_mode.h --- a/drivers/gpu/drm/radeon/radeon_mode.h~radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update +++ a/drivers/gpu/drm/radeon/radeon_mode.h @@ -300,11 +300,9 @@ struct radeon_encoder_lvds { uint32_t lvds_gen_cntl; /* panel mode */ struct drm_display_mode native_mode; -#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE struct backlight_device *bl_dev; int dpms_mode; uint8_t backlight_level; -#endif }; struct radeon_encoder_tv_dac { @@ -358,11 +356,9 @@ struct radeon_encoder_atom_dig { uint32_t lcd_ss_id; /* panel mode */ struct drm_display_mode native_mode; -#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE struct backlight_device *bl_dev; int dpms_mode; uint8_t backlight_level; -#endif }; struct radeon_encoder_atom_dac { _ Patches currently in -mm which might be from michel@xxxxxxxxxxx are radeon-expose-backlight-class-device-for-legacy-lvds-encoder.patch radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html