diff options
author | Dave Airlie <airlied@linux.ie> | 2004-05-09 06:45:17 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-05-09 06:45:17 +0000 |
commit | a2f7a9fa5f7a5dacbc9e04d132f26dd70201fb45 (patch) | |
tree | 62637e3b6f18ca8417e3001efa09594348f8726b /bsd-core | |
parent | d7e777b696e55def668834d4fcfff94b1a89cc54 (diff) |
Commit sysfs and drm PCI changes for 2.6 kernel
Diffstat (limited to 'bsd-core')
-rw-r--r-- | bsd-core/drm_drv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c index 1b5d1704..02e34365 100644 --- a/bsd-core/drm_drv.c +++ b/bsd-core/drm_drv.c @@ -78,16 +78,16 @@ #endif #ifndef DRIVER_PREINIT -#define DRIVER_PREINIT() +#define DRIVER_PREINIT(dev) 0 #endif #ifndef DRIVER_POSTINIT -#define DRIVER_POSTINIT() +#define DRIVER_POSTINIT(dev) 0 #endif #ifndef DRIVER_PRERELEASE #define DRIVER_PRERELEASE() #endif #ifndef DRIVER_PRETAKEDOWN -#define DRIVER_PRETAKEDOWN() +#define DRIVER_PRETAKEDOWN(dev) #endif #ifndef DRIVER_POSTCLEANUP #define DRIVER_POSTCLEANUP() @@ -512,7 +512,7 @@ static int DRM(takedown)( drm_device_t *dev ) DRM_DEBUG( "\n" ); - DRIVER_PRETAKEDOWN(); + DRIVER_PRETAKEDOWN(dev); #if __HAVE_IRQ if (dev->irq_enabled) DRM(irq_uninstall)( dev ); @@ -627,7 +627,7 @@ static int DRM(init)( device_t nbdev ) int retcode; #endif DRM_DEBUG( "\n" ); - DRIVER_PREINIT(); + DRIVER_PREINIT(dev); #ifdef __FreeBSD__ unit = device_get_unit(nbdev); @@ -705,7 +705,7 @@ static int DRM(init)( device_t nbdev ) DRIVER_DATE, unit ); - DRIVER_POSTINIT(); + DRIVER_POSTINIT(dev); return 0; |