diff options
Diffstat (limited to 'bsd-core/savage_drv.c')
-rw-r--r-- | bsd-core/savage_drv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bsd-core/savage_drv.c b/bsd-core/savage_drv.c index f4fa22b6..6235bcd1 100644 --- a/bsd-core/savage_drv.c +++ b/bsd-core/savage_drv.c @@ -37,7 +37,7 @@ static drm_pci_id_list_t savage_pciidlist[] = { savage_PCI_IDS }; -static void savage_configure(drm_device_t *dev) +static void savage_configure(struct drm_device *dev) { dev->driver.buf_priv_size = sizeof(drm_savage_buf_priv_t); dev->driver.load = savage_driver_load; @@ -73,9 +73,9 @@ savage_probe(device_t dev) static int savage_attach(device_t nbdev) { - drm_device_t *dev = device_get_softc(nbdev); + struct drm_device *dev = device_get_softc(nbdev); - bzero(dev, sizeof(drm_device_t)); + bzero(dev, sizeof(struct drm_device)); savage_configure(dev); return drm_attach(nbdev, savage_pciidlist); } @@ -92,7 +92,7 @@ static device_method_t savage_methods[] = { static driver_t savage_driver = { "drm", savage_methods, - sizeof(drm_device_t) + sizeof(struct drm_device) }; extern devclass_t drm_devclass; |