projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc66b32
)
drm/radeon: Fix KMS legacy backlight support if CONFIG_BACKLIGHT_CLASS_DEVICE=m.
author
Michel Dänzer
<daenzer@vmware.com>
Thu, 7 Apr 2011 14:20:49 +0000
(16:20 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 9 Apr 2011 06:20:36 +0000
(16:20 +1000)
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
index 5b54268ed6b2c9e881b664e04ba05d421eea404d..2f46e0c8df53256a9bf5d6271b55141be2f8b35a 100644
(file)
--- 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,
};
-#if
def CONFIG_BACKLIGHT_CLASS_DEVICE
+#if
defined(CONFIG_BACKLIGHT_CLASS_DEVICE) || defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE)
#define MAX_RADEON_LEVEL 0xFF