diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-04-07 14:20:49 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-04-09 06:20:36 (GMT) |
commit | 88a2b75cceba1fdbc1fdb70c7c8cd2b40da3d95d (patch) | |
tree | bd1fdc78ae1a1b97094e8c3bf53cde55ae2528f2 | |
parent | dc66b325f161bb651493c7d96ad44876b629cf6a (diff) | |
download | linux-88a2b75cceba1fdbc1fdb70c7c8cd2b40da3d95d.tar.xz |
drm/radeon: Fix KMS legacy backlight support if CONFIG_BACKLIGHT_CLASS_DEVICE=m.
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c index 5b54268..2f46e0c 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c @@ -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 |