]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/bw2.c
[PATCH] autofs4: add a show mount options for proc filesystem
[linux-2.6-omap-h63xx.git] / drivers / video / bw2.c
index c029db4646f6b8e1834aec1ad174b46ae0bc3bd2..6577fdfdfc16ac2050874318dcabc03922ef8a20 100644 (file)
@@ -327,8 +327,7 @@ static void bw2_init_one(struct sbus_dev *sdev)
        } else
 #else
        {
-               if (!sdev)
-                       BUG();
+               BUG_ON(!sdev);
                all->par.physbase = sdev->reg_addrs[0].phys_addr;
                resp = &sdev->resource[0];
                sbusfb_fill_var(&all->info.var, (sdev ? sdev->prom_node : 0), 1);