Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164854
b: refs/heads/master
c: bc6932b
h: refs/heads/master
v: v3
  • Loading branch information
Florian Tobias Schandinat authored and Linus Torvalds committed Sep 23, 2009
1 parent 819c362 commit b7c3571
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 09cf11806e4b4be92af76253ff9834c48b416129
refs/heads/master: bc6932bb4a25ced97c4f201874573e6097237b78
6 changes: 5 additions & 1 deletion trunk/drivers/video/via/viafbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2134,12 +2134,16 @@ static int __devinit via_pci_probe(void)

if (!viaparinfo->fbmem_virt) {
printk(KERN_INFO "ioremap failed\n");
return -1;
return -ENOMEM;
}

viafb_get_mmio_info(&viaparinfo->mmio_base, &viaparinfo->mmio_len);
viaparinfo->io_virt = ioremap_nocache(viaparinfo->mmio_base,
viaparinfo->mmio_len);
if (!viaparinfo->io_virt) {
printk(KERN_WARNING "ioremap failed: hardware acceleration disabled\n");
viafb_accel = 0;
}

viafbinfo->node = 0;
viafbinfo->fbops = &viafb_ops;
Expand Down

0 comments on commit b7c3571

Please sign in to comment.