patch-2.3.45 linux/drivers/video/aty128fb.c

Next file: linux/drivers/video/atyfb.c
Previous file: linux/drivers/video/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.44/linux/drivers/video/aty128fb.c linux/drivers/video/aty128fb.c
@@ -1675,9 +1675,9 @@
 #endif /* CONFIG_PPC */
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,1)
-    if (!fb_find_mode(&var, &info->fb_info, mode_option, NULL, 0,
-                      &defaultmode, 8))
-        var = default_var;
+	if (!fb_find_mode(&var, &info->fb_info, mode_option, NULL, 0,
+			  &defaultmode, 8))
+	    var = default_var;
 #endif
 
 #ifdef CONFIG_PPC
@@ -1685,6 +1685,7 @@
         if (mac_vmode_to_var(default_vmode, default_cmode, &var))
             var = default_var;
 #endif /* CONFIG_PPC */
+    }
 #endif /* MODULE */
 
     if (noaccel)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)