aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/cbvga.c
diff options
context:
space:
mode:
Diffstat (limited to 'vgasrc/cbvga.c')
-rw-r--r--vgasrc/cbvga.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c
index 9e3cc931..243e6be9 100644
--- a/vgasrc/cbvga.c
+++ b/vgasrc/cbvga.c
@@ -82,6 +82,13 @@ cbvga_set_window(struct vgamode_s *curmode_g, int window, int val)
}
int
+cbvga_minimum_linelength(struct vgamode_s *vmode_g)
+{
+ /* Can't change mode, always report active pitch. */
+ return GET_GLOBAL(CBlinelength);
+}
+
+int
cbvga_get_linelength(struct vgamode_s *curmode_g)
{
return GET_GLOBAL(CBlinelength);
@@ -156,13 +163,6 @@ cbvga_set_mode(struct vgamode_s *vmode_g, int flags)
return 0;
}
-int
-cbvga_get_linesize(struct vgamode_s *vmode_g)
-{
- /* Can't change mode, always report active pitch. */
- return GET_GLOBAL(CBlinelength);
-}
-
#define CB_TAG_FRAMEBUFFER 0x0012
struct cb_framebuffer {
u32 tag;