Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9720
b: refs/heads/master
c: d85c355
h: refs/heads/master
v: v3
  • Loading branch information
Tom 'spot' Callaway authored and David S. Miller committed Oct 7, 2005
1 parent 6bdcb51 commit 1032d27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb98129eec7fa605f0407dfd92d40ee8ddf5cd9a
refs/heads/master: d85c3553df5e24cb3117385f0a17e1cc0436d148
4 changes: 4 additions & 0 deletions trunk/drivers/video/p9100.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ static void p9100_init_one(struct sbus_dev *sdev)
all->par.physbase = sdev->reg_addrs[2].phys_addr;

sbusfb_fill_var(&all->info.var, sdev->prom_node, 8);
all->info.var.red.length = 8;
all->info.var.green.length = 8;
all->info.var.blue.length = 8;

linebytes = prom_getintdefault(sdev->prom_node, "linebytes",
all->info.var.xres);
Expand Down Expand Up @@ -323,6 +326,7 @@ static void p9100_init_one(struct sbus_dev *sdev)
kfree(all);
return;
}
fb_set_cmap(&all->info.cmap, &all->info);

list_add(&all->list, &p9100_list);

Expand Down

0 comments on commit 1032d27

Please sign in to comment.