diff options
Diffstat (limited to 'sys/dev/pci/drm/mga_drv.c')
-rw-r--r-- | sys/dev/pci/drm/mga_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/mga_drv.c b/sys/dev/pci/drm/mga_drv.c index 8732c31aaf5..d18a7845063 100644 --- a/sys/dev/pci/drm/mga_drv.c +++ b/sys/dev/pci/drm/mga_drv.c @@ -188,7 +188,7 @@ mgadrm_attach(struct device *parent, struct device *self, void *aux) drm_device_t *dev = (drm_device_t *)self; mga_configure(dev); - return drm_attach(self, pa, mga_pciidlist); + return drm_attach(parent, self, pa, mga_pciidlist); } #if defined(__OpenBSD__) |