patch-2.1.107 linux/drivers/video/txtcon.c
Next file: linux/drivers/video/vesafb.c
Previous file: linux/drivers/video/tgafb.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Wed Jun 24 14:44:02 1998
- Orig file:
v2.1.106/linux/drivers/video/txtcon.c
- Orig date:
Thu Mar 26 15:57:04 1998
diff -u --recursive --new-file v2.1.106/linux/drivers/video/txtcon.c linux/drivers/video/txtcon.c
@@ -18,6 +18,7 @@
#include <linux/types.h>
#include <linux/kdev_t.h>
#include <linux/console.h>
+#include <linux/init.h>
/*
@@ -43,8 +44,7 @@
static int txtcon_get_font(struct vc_data *conp, int *w, int *h, char *data);
static int txtcon_set_font(struct vc_data *conp, int w, int h, char *data);
static int txtcon_set_palette(struct vc_data *conp, unsigned char *table);
-static int txtcon_scrolldelta(int lines);
-static int txtcon_set_mode(struct vc_data *conp, int mode);
+static int txtcon_scrolldelta(struct vc_data *conp, int lines);
static unsigned long txtcon_startup(unsigned long kmem_start,
@@ -141,12 +141,7 @@
}
-static int txtcon_scrolldelta(int lines)
-{
- return -ENOSYS;
-}
-
-static int txtcon_set_mode(struct vc_data *conp, int mode)
+static int txtcon_scrolldelta(struct vc_data *conp, int lines)
{
return -ENOSYS;
}
@@ -173,6 +168,5 @@
txtcon_get_font,
txtcon_set_font,
txtcon_set_palette,
- txtcon_scrolldelta,
- txtcon_set_mode
+ txtcon_scrolldelta
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov