diff --exclude=media -ru bttv-0.9.11-orig/bttv-if.c bttv-0.9.11-i2c/bttv-if.c --- bttv-0.9.11-orig/bttv-if.c Wed Jun 25 18:26:49 2003 +++ bttv-0.9.11-i2c/bttv-if.c Sun Aug 3 15:33:34 2003 @@ -190,7 +190,7 @@ return state; } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,54) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,9) static void bttv_inc_use(struct i2c_adapter *adap) { MOD_INC_USE_COUNT; @@ -243,9 +243,8 @@ }; static struct i2c_adapter bttv_i2c_adap_template = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,9) .owner = THIS_MODULE, - .class = I2C_ADAP_CLASS_TV_ANALOG, #else .inc_use = bttv_inc_use, .dec_use = bttv_dec_use,