Hi Andrew,
A small fix for drivers/video/console/mdacon.c .
It's untested since I don't have this hardware myself.
Greetings,
Wim.
================================================================================
diff -Nru a/drivers/video/console/mdacon.c b/drivers/video/console/mdacon.c
--- a/drivers/video/console/mdacon.c Thu Mar 11 03:55:28 2004
+++ b/drivers/video/console/isicom.c Mon Apr 12 20:49:45 2004
@@ -371,7 +371,7 @@
if (mda_display_fg == NULL)
mda_display_fg = c;
- MOD_INC_USE_COUNT;
+ __module_get(THIS_MODULE);
}
static void mdacon_deinit(struct vc_data *c)
@@ -381,7 +381,7 @@
if (mda_display_fg == c)
mda_display_fg = NULL;
- MOD_DEC_USE_COUNT;
+ module_put(THIS_MODULE);
}
static inline u16 mda_convert_attr(u16 ch)
@@ -502,7 +502,7 @@
return -EINVAL;
}
-static int mdacon_blank(struct vc_data *c, int blank)
+static int mdacon_blank(struct vc_data *c, int blank, int mode_switch)
{
if (mda_type == TYPE_MDA) {
if (blank)
Hi Wim,
Em Mon, 12 Apr 2004 21:17:06 +0200
Wim Van Sebroeck <[email protected]> escreveu:
| -static int mdacon_blank(struct vc_data *c, int blank)
| +static int mdacon_blank(struct vc_data *c, int blank, int mode_switch)
| {
| if (mda_type == TYPE_MDA) {
| if (blank)
I already fixed this one.
--
Luiz Fernando N. Capitulino
<[email protected]>
<http://www.telecentros.sp.gov.br>