summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/mach64.h2
-rw-r--r--shared/mga.h2
-rw-r--r--shared/r128.h2
-rw-r--r--shared/radeon.h2
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)