Commit 94ce3185 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] mdacon.c warning fix.

From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>

drivers/video/console/mdacon.c:599: warning: initialization from incompatible pointer type
parent 8afc52a5
...@@ -502,7 +502,7 @@ static int mdacon_set_palette(struct vc_data *c, unsigned char *table) ...@@ -502,7 +502,7 @@ static int mdacon_set_palette(struct vc_data *c, unsigned char *table)
return -EINVAL; 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 (mda_type == TYPE_MDA) {
if (blank) if (blank)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment