]> git.pld-linux.org Git - packages/kernel.git/blob - 2.6.0-t8-linuxTV-2of3-lkml.patch
- added description of djurban's branch
[packages/kernel.git] / 2.6.0-t8-linuxTV-2of3-lkml.patch
1 diff -ura xx-linux-2.6.0-test8/drivers/media/common/saa7146_i2c.c linux-2.6.0-test8-p/drivers/media/common/saa7146_i2c.c
2 --- xx-linux-2.6.0-test8/drivers/media/common/saa7146_i2c.c     2003-10-09 10:39:08.000000000 +0200
3 +++ linux-2.6.0-test8-p/drivers/media/common/saa7146_i2c.c      2003-10-21 11:21:36.000000000 +0200
4 @@ -409,11 +409,8 @@
5         if( NULL != i2c_adapter ) {
6                 memset(i2c_adapter,0,sizeof(struct i2c_adapter));
7                 strcpy(i2c_adapter->name, dev->name);   
8 -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
9 -               i2c_adapter->data = dev;
10 -#else
11                 i2c_set_adapdata(i2c_adapter,dev);
12 -#endif
13 +               i2c_adapter->class         = I2C_ADAP_CLASS_TV_ANALOG;
14                 i2c_adapter->algo          = &saa7146_algo;
15                 i2c_adapter->algo_data     = NULL;
16                 i2c_adapter->id            = I2C_ALGO_SAA7146;
This page took 0.547948 seconds and 3 git commands to generate.