Commit 59f7137a authored by Robert Reif's avatar Robert Reif Committed by David S. Miller

sparc video: make blank use proper constant

Make blank functions use proper constant for unblanking.
Signed-off-by: default avatarRobert Reif <reif@earthlink.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81d6ec6b
...@@ -329,7 +329,7 @@ static int __devinit bw2_probe(struct of_device *op, const struct of_device_id * ...@@ -329,7 +329,7 @@ static int __devinit bw2_probe(struct of_device *op, const struct of_device_id *
if (!info->screen_base) if (!info->screen_base)
goto out_unmap_regs; goto out_unmap_regs;
bw2_blank(0, info); bw2_blank(FB_BLANK_UNBLANK, info);
bw2_init_fix(info, linebytes); bw2_init_fix(info, linebytes);
......
...@@ -398,7 +398,7 @@ static int __devinit cg3_probe(struct of_device *op, ...@@ -398,7 +398,7 @@ static int __devinit cg3_probe(struct of_device *op,
if (!info->screen_base) if (!info->screen_base)
goto out_unmap_regs; goto out_unmap_regs;
cg3_blank(0, info); cg3_blank(FB_BLANK_UNBLANK, info);
if (!of_find_property(dp, "width", NULL)) { if (!of_find_property(dp, "width", NULL)) {
err = cg3_do_default_mode(par); err = cg3_do_default_mode(par);
......
...@@ -767,7 +767,7 @@ static int __devinit cg6_probe(struct of_device *op, ...@@ -767,7 +767,7 @@ static int __devinit cg6_probe(struct of_device *op,
cg6_bt_init(par); cg6_bt_init(par);
cg6_chip_init(info); cg6_chip_init(info);
cg6_blank(0, info); cg6_blank(FB_BLANK_UNBLANK, info);
if (fb_alloc_cmap(&info->cmap, 256, 0)) if (fb_alloc_cmap(&info->cmap, 256, 0))
goto out_unmap_regs; goto out_unmap_regs;
......
...@@ -987,7 +987,7 @@ static int __devinit ffb_probe(struct of_device *op, ...@@ -987,7 +987,7 @@ static int __devinit ffb_probe(struct of_device *op,
* chosen console, it will have video outputs off in * chosen console, it will have video outputs off in
* the DAC. * the DAC.
*/ */
ffb_blank(0, info); ffb_blank(FB_BLANK_UNBLANK, info);
if (fb_alloc_cmap(&info->cmap, 256, 0)) if (fb_alloc_cmap(&info->cmap, 256, 0))
goto out_unmap_dac; goto out_unmap_dac;
......
...@@ -601,7 +601,7 @@ static int __devinit leo_probe(struct of_device *op, const struct of_device_id * ...@@ -601,7 +601,7 @@ static int __devinit leo_probe(struct of_device *op, const struct of_device_id *
leo_init_wids(info); leo_init_wids(info);
leo_init_hw(info); leo_init_hw(info);
leo_blank(0, info); leo_blank(FB_BLANK_UNBLANK, info);
if (fb_alloc_cmap(&info->cmap, 256, 0)) if (fb_alloc_cmap(&info->cmap, 256, 0))
goto out_unmap_regs; goto out_unmap_regs;
......
...@@ -295,7 +295,7 @@ static int __devinit p9100_probe(struct of_device *op, const struct of_device_id ...@@ -295,7 +295,7 @@ static int __devinit p9100_probe(struct of_device *op, const struct of_device_id
if (!info->screen_base) if (!info->screen_base)
goto out_unmap_regs; goto out_unmap_regs;
p9100_blank(0, info); p9100_blank(FB_BLANK_UNBLANK, info);
if (fb_alloc_cmap(&info->cmap, 256, 0)) if (fb_alloc_cmap(&info->cmap, 256, 0))
goto out_unmap_screen; goto out_unmap_screen;
......
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