summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/sis_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/sis_drv.c')
-rw-r--r--sys/dev/pci/drm/sis_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/sis_drv.c b/sys/dev/pci/drm/sis_drv.c
index a986437aac8..072e1afdd0d 100644
--- a/sys/dev/pci/drm/sis_drv.c
+++ b/sys/dev/pci/drm/sis_drv.c
@@ -121,7 +121,7 @@ sisdrm_attach(struct device *parent, struct device *self, void *aux)
drm_device_t *dev = (drm_device_t *)self;
sis_configure(dev);
- return drm_attach(self, pa, sis_pciidlist);
+ return drm_attach(parent, self, pa, sis_pciidlist);
}
#if defined(__OpenBSD__)