diff --exclude=media -ru saa7134-0.2.8-orig/saa7134-i2c.c saa7134-0.2.8-i2c/saa7134-i2c.c --- saa7134-0.2.8-orig/saa7134-i2c.c Mon Aug 4 14:08:00 2003 +++ saa7134-0.2.8-i2c/saa7134-i2c.c Mon Aug 4 14:08:25 2003 @@ -311,7 +311,7 @@ return I2C_FUNC_SMBUS_EMUL; } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,54) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,9) static void inc_use(struct i2c_adapter *adap) { MOD_INC_USE_COUNT; @@ -333,6 +333,7 @@ } static struct i2c_algorithm saa7134_algo = { + .owner = THIS_MODULE, .name = "saa7134", .id = I2C_ALGO_SAA7134, .master_xfer = saa7134_i2c_xfer, @@ -341,9 +342,8 @@ }; static struct i2c_adapter saa7134_adap_template = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,54) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,9) .owner = THIS_MODULE, - .class = I2C_ADAP_CLASS_TV_ANALOG, #else .inc_use = inc_use, .dec_use = dec_use, diff --exclude=media -ru saa7134-0.2.8-orig/tda9887.c saa7134-0.2.8-i2c/tda9887.c --- saa7134-0.2.8-orig/tda9887.c Wed Jun 25 18:26:49 2003 +++ saa7134-0.2.8-i2c/tda9887.c Sun Aug 3 15:46:24 2003 @@ -456,7 +456,7 @@ /* ----------------------------------------------------------------------- */ static struct i2c_driver driver = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,54) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,9) .owner = THIS_MODULE, #endif .name = "i2c tda9887 driver", diff --exclude=media -ru saa7134-0.2.8-orig/tuner.c saa7134-0.2.8-i2c/tuner.c --- saa7134-0.2.8-orig/tuner.c Wed Jun 25 18:26:49 2003 +++ saa7134-0.2.8-i2c/tuner.c Sun Aug 3 15:46:15 2003 @@ -991,7 +991,7 @@ /* ----------------------------------------------------------------------- */ static struct i2c_driver driver = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,54) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,9) .owner = THIS_MODULE, #endif .name = "i2c TV tuner driver", diff --exclude=media -ru saa7134-0.2.8-orig/tvaudio.c saa7134-0.2.8-i2c/tvaudio.c --- saa7134-0.2.8-orig/tvaudio.c Wed Jun 25 18:26:49 2003 +++ saa7134-0.2.8-i2c/tvaudio.c Sun Aug 3 15:45:55 2003 @@ -1666,7 +1666,7 @@ static struct i2c_driver driver = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,54) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,9) .owner = THIS_MODULE, #endif .name = "generic i2c audio driver",