aboutsummaryrefslogtreecommitdiff
path: root/linux-core/i810_dma.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-23 05:39:15 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-23 05:39:15 +0000
commitc158a36c4cfef024ba1be05a163cfd4b00ebea21 (patch)
treeca2f83f1cda34c20c3df6f558f54c3ff10eb6728 /linux-core/i810_dma.c
parentaf326f6f0c26191b4aef2183fb485e58495b29a5 (diff)
1) switches from class_sysfs to drm sysfs implementation to allow
customization 2) compiles again on 2.4, but doesn't work
Diffstat (limited to 'linux-core/i810_dma.c')
-rw-r--r--linux-core/i810_dma.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c
index 0c828850..5d2165c6 100644
--- a/linux-core/i810_dma.c
+++ b/linux-core/i810_dma.c
@@ -52,11 +52,6 @@
#define I810_BUF_UNMAPPED 0
#define I810_BUF_MAPPED 1
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,2)
-#define down_write down
-#define up_write up
-#endif
-
static inline void i810_print_status_page(drm_device_t *dev)
{
drm_device_dma_t *dma = dev->dma;