diff options
Diffstat (limited to 'drivers/video/via/via-core.c')
-rw-r--r-- | drivers/video/via/via-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/via-core.c b/drivers/video/via/via-core.c index 6723d6910cde..5b0129b42d8a 100644 --- a/drivers/video/via/via-core.c +++ b/drivers/video/via/via-core.c | |||
@@ -505,7 +505,7 @@ static int __devinit via_pci_setup_mmio(struct viafb_dev *vdev) | |||
505 | ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); | 505 | ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); |
506 | if (ret < 0) | 506 | if (ret < 0) |
507 | goto out_unmap; | 507 | goto out_unmap; |
508 | vdev->fbmem = ioremap_nocache(vdev->fbmem_start, vdev->fbmem_len); | 508 | vdev->fbmem = ioremap_wc(vdev->fbmem_start, vdev->fbmem_len); |
509 | if (vdev->fbmem == NULL) { | 509 | if (vdev->fbmem == NULL) { |
510 | ret = -ENOMEM; | 510 | ret = -ENOMEM; |
511 | goto out_unmap; | 511 | goto out_unmap; |