Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43792
b: refs/heads/master
c: 945f0ee
h: refs/heads/master
v: v3
  • Loading branch information
Amol Lad authored and Linus Torvalds committed Dec 8, 2006
1 parent bf3324f commit 4aa83ad
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: 57354c42f177a2b58fb1f61125ad2cb2e8743a9b
refs/heads/master: 945f0ee257b4f91498b4061dc89b8a68c423ea6f
7 changes: 5 additions & 2 deletions trunk/drivers/video/S3triofb.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,11 @@ static void __init s3triofb_of_init(struct device_node *dp)
#endif

fb_info.flags = FBINFO_FLAG_DEFAULT;
if (register_framebuffer(&fb_info) < 0)
return;
if (register_framebuffer(&fb_info) < 0) {
iounmap(fb_info.screen_base);
fb_info.screen_base = NULL;
return;
}

printk("fb%d: S3 Trio frame buffer device on %s\n",
fb_info.node, dp->full_name);
Expand Down

0 comments on commit 4aa83ad

Please sign in to comment.