]> git.hungrycats.org Git - linux/commitdiff
Fix link error with RADEON_DEBUG and !RADEON_I2C.
authorLinus Torvalds <torvalds@evo.osdl.org>
Mon, 16 Feb 2004 02:31:00 +0000 (18:31 -0800)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 16 Feb 2004 02:31:00 +0000 (18:31 -0800)
drivers/video/aty/radeon_monitor.c

index 0dea5fb258368e5190738548536a2b79a988ea63..a9fa1ff33804114c52d4c8d9b0fa747ccc398497 100644 (file)
@@ -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};