diff -ru w9968cf-1.00-orig/w9968cf_core.c w9968cf-1.00-i2c/w9968cf_core.c --- w9968cf-1.00-orig/w9968cf_core.c Sun Jun 15 17:24:38 2003 +++ w9968cf-1.00-i2c/w9968cf_core.c Tue Jul 22 10:47:12 2003 @@ -435,7 +435,7 @@ static int w9968cf_i2c_detach_inform(struct i2c_client*); static int w9968cf_i2c_control(struct i2c_adapter*, unsigned int cmd, unsigned long arg); -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 9) static void w9968cf_i2c_inc_use(struct i2c_adapter*); static void w9968cf_i2c_dec_use(struct i2c_adapter*); #endif @@ -1838,7 +1838,7 @@ return 0; } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 9) static void w9968cf_i2c_inc_use(struct i2c_adapter* adap) { MOD_INC_USE_COUNT; @@ -1869,7 +1869,7 @@ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 70) .class = I2C_ADAP_CLASS_CAM_DIGITAL, #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 9) .inc_use = w9968cf_i2c_inc_use, .dec_use = w9968cf_i2c_dec_use, #else