summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2005-08-04 13:59:48 +0000
committerJon Smirl <jonsmirl@yahoo.com>2005-08-04 13:59:48 +0000
commitbb9502ab01e7258c021f161b3caac8a508979dd8 (patch)
tree67eae2422486c7d80db3fadd19573a0b54d264c0 /shared-core/drm.h
parentea2c7a895d6456c83ee8489e1db7ae5a800f0abf (diff)
Mark some radeon init variables deprecated. These used to be passed in but
the driver already knew their correct value. For example the physical address of the framebuffer and registers.
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index d2dde34f..ffbd4755 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -62,6 +62,12 @@
#define __user
#endif
+#ifdef __GNUC__
+# define DEPRECATED __attribute__ ((deprecated))
+#else
+# define DEPRECATED
+#endif
+
#if defined(__linux__)
#if defined(__KERNEL__)
#include <linux/config.h>