projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware
[powerpc.git]
/
drivers
/
video
/
bw2.c
diff --git
a/drivers/video/bw2.c
b/drivers/video/bw2.c
index
c029db4
..
6577fdf
100644
(file)
--- a/
drivers/video/bw2.c
+++ b/
drivers/video/bw2.c
@@
-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);