summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/via_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/via_drv.c')
-rw-r--r--sys/dev/pci/drm/via_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/via_drv.c b/sys/dev/pci/drm/via_drv.c
index 82a2374b296..86aa2b550ec 100644
--- a/sys/dev/pci/drm/via_drv.c
+++ b/sys/dev/pci/drm/via_drv.c
@@ -130,7 +130,7 @@ viadrm_attach(struct device *parent, struct device *self, void *opaque)
drm_device_t *dev = (drm_device_t *)self;
viadrm_configure(dev);
- drm_attach(self, pa, via_pciidlist);
+ drm_attach(parent, self, pa, via_pciidlist);
}
#if defined(__OpenBSD__)