Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@evo.osdl.org>2004-02-15 18:31:00 -0800
committerLinus Torvalds <torvalds@evo.osdl.org>2004-02-15 18:31:00 -0800
commitf1bdede03ad0b229632a6c44760c712d86d4900c (patch)
treef7f5b757a096ad0831fc1f4e868fd0b2ab5e2eae
parent7461d9036f122ba3cef4702e6dcf0047394ec397 (diff)
Fix link error with RADEON_DEBUG and !RADEON_I2C.
-rw-r--r--drivers/video/aty/radeon_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_monitor.c b/drivers/video/aty/radeon_monitor.c
index 0dea5fb25836..a9fa1ff33804 100644
--- a/drivers/video/aty/radeon_monitor.c
+++ b/drivers/video/aty/radeon_monitor.c
@@ -462,7 +462,7 @@ void __devinit radeon_probe_screens(struct radeonfb_info *rinfo,
RTRACE("Starting monitor auto detection...\n");
-#if DEBUG
+#if DEBUG && defined(CONFIG_FB_RADEON_I2C)
{
u8 *EDIDs[4] = { NULL, NULL, NULL, NULL };
int mon_types[4] = {MT_NONE, MT_NONE, MT_NONE, MT_NONE};