--- linux-2.4.28/drivers/media/video/bttv-if.c.orig 2003-11-28 19:26:20.000000000 +0100 +++ linux-2.4.28/drivers/media/video/bttv-if.c 2004-12-04 15:13:46.000000000 +0100 @@ -190,7 +190,6 @@ return state; } -#ifndef I2C_PEC static void bttv_inc_use(struct i2c_adapter *adap) { MOD_INC_USE_COUNT; @@ -200,7 +199,6 @@ { MOD_DEC_USE_COUNT; } -#endif static int attach_inform(struct i2c_client *client) { @@ -243,12 +241,8 @@ }; static struct i2c_adapter bttv_i2c_adap_template = { -#ifdef I2C_PEC - .owner = THIS_MODULE, -#else .inc_use = bttv_inc_use, .dec_use = bttv_dec_use, -#endif #ifdef I2C_ADAP_CLASS_TV_ANALOG .class = I2C_ADAP_CLASS_TV_ANALOG, #endif --- linux-2.4.28/drivers/media/video/tvmixer.c.orig 2004-12-04 15:20:20.000000000 +0100 +++ linux-2.4.28/drivers/media/video/tvmixer.c 2004-12-04 15:20:07.000000000 +0100 @@ -193,10 +193,8 @@ /* lock bttv in memory while the mixer is in use */ file->private_data = mix; -#ifndef I2C_PEC if (client->adapter->inc_use) client->adapter->inc_use(client->adapter); -#endif return 0; } @@ -210,17 +208,12 @@ return -ENODEV; } -#ifndef I2C_PEC if (client->adapter->dec_use) client->adapter->dec_use(client->adapter); -#endif return 0; } static struct i2c_driver driver = { -#ifdef I2C_PEC - .owner = THIS_MODULE, -#endif .name = "tv card mixer driver", .id = I2C_DRIVERID_TVMIXER, #ifdef I2C_DF_DUMMY