From c158a36c4cfef024ba1be05a163cfd4b00ebea21 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 23 Sep 2004 05:39:15 +0000 Subject: 1) switches from class_sysfs to drm sysfs implementation to allow customization 2) compiles again on 2.4, but doesn't work --- linux-core/i810_dma.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'linux-core/i810_dma.c') 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; -- cgit v1.2.3