From a2f7a9fa5f7a5dacbc9e04d132f26dd70201fb45 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 9 May 2004 06:45:17 +0000 Subject: Commit sysfs and drm PCI changes for 2.6 kernel --- shared/mach64.h | 2 +- shared/mga.h | 2 +- shared/r128.h | 2 +- shared/radeon.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'shared') 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) -- cgit v1.2.3