projects
/
platform
/
kernel
/
linux-amlogic.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
5b54268
..
2f46e0c
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