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 /shared | |
parent | d7e777b696e55def668834d4fcfff94b1a89cc54 (diff) |
Commit sysfs and drm PCI changes for 2.6 kernel
Diffstat (limited to 'shared')
-rw-r--r-- | shared/mach64.h | 2 | ||||
-rw-r--r-- | shared/mga.h | 2 | ||||
-rw-r--r-- | shared/r128.h | 2 | ||||
-rw-r--r-- | shared/radeon.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/shared/mach64.h b/shared/mach64.h index f8be3937..2fde4466 100644 --- a/shared/mach64.h +++ b/shared/mach64.h @@ -73,7 +73,7 @@ /* Driver customization: */ -#define DRIVER_PRETAKEDOWN() do { \ +#define DRIVER_PRETAKEDOWN(dev) do { \ mach64_do_cleanup_dma( dev ); \ } while (0) diff --git a/shared/mga.h b/shared/mga.h index 702857a3..6ee39522 100644 --- a/shared/mga.h +++ b/shared/mga.h @@ -71,7 +71,7 @@ /* Driver customization: */ -#define DRIVER_PRETAKEDOWN() do { \ +#define DRIVER_PRETAKEDOWN( dev ) do { \ mga_do_cleanup_dma( dev ); \ } while (0) diff --git a/shared/r128.h b/shared/r128.h index 9dfe1897..de647733 100644 --- a/shared/r128.h +++ b/shared/r128.h @@ -90,7 +90,7 @@ } \ } while (0) -#define DRIVER_PRETAKEDOWN() do { \ +#define DRIVER_PRETAKEDOWN(dev) do { \ r128_do_cleanup_cce( dev ); \ } while (0) diff --git a/shared/radeon.h b/shared/radeon.h index 77e36efc..4219384f 100644 --- a/shared/radeon.h +++ b/shared/radeon.h @@ -146,7 +146,7 @@ do { \ /* When the last client dies, shut down the CP and free dev->dev_priv. */ /* #define __HAVE_RELEASE 1 */ -#define DRIVER_PRETAKEDOWN() \ +#define DRIVER_PRETAKEDOWN( dev ) \ do { \ radeon_do_release( dev ); \ } while (0) |