Fix use of FBDEV_SETSTART macro
authorMichael Walle <michael@walle.cc>
Thu, 6 May 2010 19:53:08 +0000 (21:53 +0200)
committerMichael Walle <michael@walle.cc>
Thu, 6 May 2010 19:59:06 +0000 (21:59 +0200)
Use FBDEV_SETSTART macro instead of fbdev_setstart() directly.

umon_main/target/common/fbi.c

index 3439ee7..d2d7647 100755 (executable)
@@ -545,7 +545,7 @@ fb_scroll(void)
                if (font_linemodulo)
                        fbstart += SCREEN_WIDTH * sizeof(fbtype);
 
-               fbdev_setstart(fbstart);
+               FBDEV_SETSTART(fbstart);
 
 #ifdef FBI_DEBUG
                if (!fbi_consolemode_enabled) { /* don't print if console is enabled */
@@ -572,7 +572,7 @@ fb_scroll(void)
                                fbstart += font_linemodulo * (SCREEN_WIDTH * sizeof(fbtype));
                }
 
-               fbdev_setstart(fbstart);
+               FBDEV_SETSTART(fbstart);
 
 #ifdef FBI_DEBUG
                if (!fbi_consolemode_enabled) { /* don't print if console is enabled */