sparc video: make blank use proper constant
authorRobert Reif <reif@earthlink.net>
Sun, 4 May 2008 04:12:00 +0000 (21:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2008 04:12:00 +0000 (21:12 -0700)
Make blank functions use proper constant for unblanking.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/bw2.c
drivers/video/cg3.c
drivers/video/cg6.c
drivers/video/ffb.c
drivers/video/leo.c
drivers/video/p9100.c

index 275d9dab0c6108e2f56b73c6bb5d2da1d3fdedc2..79f85dc402d650c9755de43b4c98ec1e18987ec0 100644 (file)
@@ -329,7 +329,7 @@ static int __devinit bw2_probe(struct of_device *op, const struct of_device_id *
        if (!info->screen_base)
                goto out_unmap_regs;
 
-       bw2_blank(0, info);
+       bw2_blank(FB_BLANK_UNBLANK, info);
 
        bw2_init_fix(info, linebytes);
 
index 010ea53978f822cdc7cafd9dce2f85c7ec9054b5..e31e26a6bb79a449fc15f600f3642f4bb016b397 100644 (file)
@@ -398,7 +398,7 @@ static int __devinit cg3_probe(struct of_device *op,
        if (!info->screen_base)
                goto out_unmap_regs;
 
-       cg3_blank(0, info);
+       cg3_blank(FB_BLANK_UNBLANK, info);
 
        if (!of_find_property(dp, "width", NULL)) {
                err = cg3_do_default_mode(par);
index fc90db6da65a94267e8e2e8f22865b5843abdabb..8000bccecdc6af3617f5ca1c8693486acd60e134 100644 (file)
@@ -767,7 +767,7 @@ static int __devinit cg6_probe(struct of_device *op,
 
        cg6_bt_init(par);
        cg6_chip_init(info);
-       cg6_blank(0, info);
+       cg6_blank(FB_BLANK_UNBLANK, info);
 
        if (fb_alloc_cmap(&info->cmap, 256, 0))
                goto out_unmap_regs;
index 93dca3e2aa502d7537aca3fbae7069af80b4f6eb..0f42a696d1766ea84c997dc584128b46b727dca1 100644 (file)
@@ -987,7 +987,7 @@ static int __devinit ffb_probe(struct of_device *op,
         * chosen console, it will have video outputs off in
         * the DAC.
         */
-       ffb_blank(0, info);
+       ffb_blank(FB_BLANK_UNBLANK, info);
 
        if (fb_alloc_cmap(&info->cmap, 256, 0))
                goto out_unmap_dac;
index f3160fc29795354a680e13d5a576876f70b42af7..fb129928d5d5fadb1f0997f664f5b213dc053d76 100644 (file)
@@ -601,7 +601,7 @@ static int __devinit leo_probe(struct of_device *op, const struct of_device_id *
        leo_init_wids(info);
        leo_init_hw(info);
 
-       leo_blank(0, info);
+       leo_blank(FB_BLANK_UNBLANK, info);
 
        if (fb_alloc_cmap(&info->cmap, 256, 0))
                goto out_unmap_regs;
index c95874fe9076579de587a7c1f87c9ded194ff7b5..676ffb06d1c79784f67a8e66e488dd36a615acda 100644 (file)
@@ -295,7 +295,7 @@ static int __devinit p9100_probe(struct of_device *op, const struct of_device_id
        if (!info->screen_base)
                goto out_unmap_regs;
 
-       p9100_blank(0, info);
+       p9100_blank(FB_BLANK_UNBLANK, info);
 
        if (fb_alloc_cmap(&info->cmap, 256, 0))
                goto out_unmap_screen;