diff -ru ov511-2.25-orig/ov511_core.c ov511-2.25-i2c/ov511_core.c --- ov511-2.25-orig/ov511_core.c Sun May 11 09:50:50 2003 +++ ov511-2.25-i2c/ov511_core.c Tue Jul 22 11:11:02 2003 @@ -1593,7 +1593,7 @@ return 0; } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 9) static void ov51x_i2c_inc_use(struct i2c_adapter *adap) { @@ -1629,7 +1629,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 = ov51x_i2c_inc_use, .dec_use = ov51x_i2c_dec_use, #else diff -ru ov511-2.25-orig/ovcamchip_core.c ov511-2.25-i2c/ovcamchip_core.c --- ov511-2.25-orig/ovcamchip_core.c Tue May 13 13:43:00 2003 +++ ov511-2.25-i2c/ovcamchip_core.c Tue Jul 22 11:12:44 2003 @@ -565,7 +565,7 @@ /* ----------------------------------------------------------------------- */ static struct i2c_driver driver = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 9) .owner = THIS_MODULE, #endif .name = "i2c ovcamchip driver", diff -ru ov511-2.25-orig/ovfx2.c ov511-2.25-i2c/ovfx2.c --- ov511-2.25-orig/ovfx2.c Tue May 13 13:29:39 2003 +++ ov511-2.25-i2c/ovfx2.c Tue Jul 22 11:02:25 2003 @@ -893,7 +893,7 @@ return 0; } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 9) static void ovfx2_i2c_inc_use(struct i2c_adapter *adap) { @@ -921,7 +921,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 = ovfx2_i2c_inc_use, .dec_use = ovfx2_i2c_dec_use, #else diff -ru ov511-2.25-orig/saa7111-new.c ov511-2.25-i2c/saa7111-new.c --- ov511-2.25-orig/saa7111-new.c Sun May 11 09:31:52 2003 +++ ov511-2.25-i2c/saa7111-new.c Tue Jul 22 11:12:49 2003 @@ -504,6 +504,7 @@ /* ----------------------------------------------------------------------- */ static struct i2c_driver driver = { + .owner = THIS_MODULE, .name = "i2c saa7111 driver", .id = I2C_DRIVERID_SAA7111A, .flags = I2C_DF_NOTIFY, diff -ru ov511-2.25-orig/tda7313.c ov511-2.25-i2c/tda7313.c --- ov511-2.25-orig/tda7313.c Sun May 11 09:32:58 2003 +++ ov511-2.25-i2c/tda7313.c Tue Jul 22 11:12:21 2003 @@ -186,7 +186,7 @@ /* ----------------------------------------------------------------------- */ static struct i2c_driver driver = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 9) .owner = THIS_MODULE, #endif .name = "i2c tda7313 driver", diff -ru ov511-2.25-orig/tuner.c ov511-2.25-i2c/tuner.c --- ov511-2.25-orig/tuner.c Tue Apr 29 03:19:15 2003 +++ ov511-2.25-i2c/tuner.c Tue Jul 22 11:12:12 2003 @@ -997,7 +997,7 @@ /* ----------------------------------------------------------------------- */ static struct i2c_driver driver = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 9) .owner = THIS_MODULE, #endif .name = "i2c TV tuner driver",