summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/tdfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/tdfx_drv.c')
-rw-r--r--sys/dev/pci/drm/tdfx_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/tdfx_drv.c b/sys/dev/pci/drm/tdfx_drv.c
index 46ab4a88e82..647a70f3b38 100644
--- a/sys/dev/pci/drm/tdfx_drv.c
+++ b/sys/dev/pci/drm/tdfx_drv.c
@@ -79,7 +79,7 @@ tdfxdrm_attach(struct device *parent, struct device *self, void *aux)
struct pci_attach_args *pa = aux;
/* never agp */
- dev_priv->drmdev = drm_attach_mi(&tdfxdrm_driver, pa->pa_dmat, pa, 0, self);
+ dev_priv->drmdev = drm_attach_pci(&tdfxdrm_driver, pa, 0, self);
}
struct cfattach tdfxdrm_ca = {