diff options
author | Eric Anholt <eric@anholt.net> | 2008-05-30 14:42:08 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-05-30 14:42:08 -0700 |
commit | 461bfa3da6f85b85c21cd84f81bb4eefa5481418 (patch) | |
tree | 33e91c8cd024f67922670f9ed6565ceda1e4f3b5 /bsd-core/savage_drv.c | |
parent | 50bce2bc625deb439dd61f504496dddd0cd4f572 (diff) | |
parent | 6e8a2cff66ac0d6afaf9bb233bc81449c2014078 (diff) |
Merge commit 'origin/master' into drm-gem
Conflicts:
linux-core/Makefile.kernel
shared-core/i915_drv.h
shared-core/nouveau_state.c
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; |