Show
Ignore:
Timestamp:
01/24/00 21:07:29 (14 years ago)
Author:
frodo
Message:

Removing kernel 2.0 and 2.1 compatibility pass 2

Eliminated compat.h

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/bt869.c

    r704 r705  
    2929#include "i2c-isa.h" 
    3030#include "version.h" 
    31 #include "compat.h" 
    3231#include <linux/init.h> 
     32 
     33#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1)) 
     34#define init_MUTEX(s) do { *(s) = MUTEX; } while(0) 
     35#endif 
     36 
     37#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,13) 
     38#define THIS_MODULE NULL 
     39#endif 
    3340 
    3441