summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/savage_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/savage_drv.c')
-rw-r--r--sys/dev/pci/drm/savage_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/savage_drv.c b/sys/dev/pci/drm/savage_drv.c
index 557bdbb1775..585fe9a9538 100644
--- a/sys/dev/pci/drm/savage_drv.c
+++ b/sys/dev/pci/drm/savage_drv.c
@@ -128,7 +128,7 @@ savagedrm_attach(struct device *parent, struct device *self, void *aux)
drm_device_t *dev = (drm_device_t *)self;
savage_configure(dev);
- return drm_attach(self, pa, savage_pciidlist);
+ return drm_attach(parent, self, pa, savage_pciidlist);
}
#if defined(__OpenBSD__)