summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/mach64_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/mach64_drv.c')
-rw-r--r--sys/dev/pci/drm/mach64_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/mach64_drv.c b/sys/dev/pci/drm/mach64_drv.c
index ea92e429252..fdfc8a22051 100644
--- a/sys/dev/pci/drm/mach64_drv.c
+++ b/sys/dev/pci/drm/mach64_drv.c
@@ -112,7 +112,7 @@ machdrm_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;