git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
video
/
bw2.c
diff --git
a/drivers/video/bw2.c
b/drivers/video/bw2.c
index
6577fdf
..
c029db4
100644
(file)
--- a/
drivers/video/bw2.c
+++ b/
drivers/video/bw2.c
@@
-327,7
+327,8
@@
static void bw2_init_one(struct sbus_dev *sdev)
} else
#else
{
- BUG_ON(!sdev);
+ if (!sdev)
+ BUG();
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);