Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143191
b: refs/heads/master
c: 133bb07
h: refs/heads/master
i:
  143189: f77b560
  143187: a583d62
  143183: 42922b3
v: v3
  • Loading branch information
Matthew Garrett authored and Linus Torvalds committed Apr 13, 2009
1 parent e23ff83 commit fc7a0c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ca1071f7dbd673de826eb3fb01bfdfd1d423433
refs/heads/master: 133bb070e94ab41d750c6f2160c8843e46f11b78
7 changes: 5 additions & 2 deletions trunk/drivers/video/efifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,15 @@ static int __init efifb_probe(struct platform_device *dev)
unsigned int size_total;
int request_succeeded = 0;

printk(KERN_INFO "efifb: probing for efifb\n");

if (!screen_info.lfb_depth)
screen_info.lfb_depth = 32;
if (!screen_info.pages)
screen_info.pages = 1;
if (!screen_info.lfb_base) {
printk(KERN_DEBUG "efifb: invalid framebuffer address\n");
return -ENODEV;
}
printk(KERN_INFO "efifb: probing for efifb\n");

/* just assume they're all unset if any are */
if (!screen_info.blue_size) {
Expand Down

0 comments on commit fc7a0c3

Please sign in to comment.