git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
emac: Fix clock control for 405EX and 405EXr chips
[safe/jmp/linux-2.6]
/
drivers
/
video
/
pm3fb.c
diff --git
a/drivers/video/pm3fb.c
b/drivers/video/pm3fb.c
index
68089d1
..
6666f45
100644
(file)
--- a/
drivers/video/pm3fb.c
+++ b/
drivers/video/pm3fb.c
@@
-539,8
+539,10
@@
static void pm3fb_imageblit(struct fb_info *info, const struct fb_image *image)
bgx = par->palette[image->bg_color];
break;
}
- if (image->depth != 1)
- return cfb_imageblit(info, image);
+ if (image->depth != 1) {
+ cfb_imageblit(info, image);
+ return;
+ }
if (info->var.bits_per_pixel == 8) {
fgx |= fgx << 8;