summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/r128_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/r128_drv.c')
-rw-r--r--sys/dev/pci/drm/r128_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/r128_drv.c b/sys/dev/pci/drm/r128_drv.c
index f4042a2864a..06dae98d011 100644
--- a/sys/dev/pci/drm/r128_drv.c
+++ b/sys/dev/pci/drm/r128_drv.c
@@ -129,7 +129,7 @@ ragedrm_attach(struct device *parent, struct device *self, void *aux)
}
dev_priv->regs = vga_pci_bar_map((struct vga_pci_softc *)parent,
- bar->addr, bar->size, 0);
+ bar->addr, 0, 0);
if (dev_priv->regs == NULL) {
printf(": can't map mmio space\n");
return;