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/i830_dma.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'linux-core/i830_dma.c') diff --git a/linux-core/i830_dma.c b/linux-core/i830_dma.c index f39611c0..1ce2a357 100644 --- a/linux-core/i830_dma.c +++ b/linux-core/i830_dma.c @@ -54,11 +54,6 @@ #define I830_BUF_UNMAPPED 0 #define I830_BUF_MAPPED 1 -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,2) -#define down_write down -#define up_write up -#endif - static inline void i830_print_status_page(drm_device_t *dev) { drm_device_dma_t *dma = dev->dma; -- cgit v1.2.3