Skip to content

Commit

Permalink
drm/radeon: Fix KMS legacy backlight support if CONFIG_BACKLIGHT_CLAS…
Browse files Browse the repository at this point in the history
…S_DEVICE=m.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Michel Dänzer authored and Dave Airlie committed Apr 9, 2011
1 parent dc66b32 commit 88a2b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_legacy_encoders.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static const struct drm_encoder_helper_funcs radeon_legacy_lvds_helper_funcs = {
.disable = radeon_legacy_encoder_disable,
};

#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) || defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE)

#define MAX_RADEON_LEVEL 0xFF

Expand Down

0 comments on commit 88a2b75

Please sign in to comment.