diff options
author | Michael Hunold <devnull@localhost> | 2003-07-17 09:04:05 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-07-17 09:04:05 +0000 |
commit | e3006e1f0c98f42f184647b569819771bb589ae8 (patch) | |
tree | a7698c7161733b48262ebbfc8e042f8234b3aef3 | |
parent | 81117df4eb88a22c4f3e5ae030190c98ca033fc5 (diff) | |
download | mediapointer-dvb-s2-e3006e1f0c98f42f184647b569819771bb589ae8.tar.gz mediapointer-dvb-s2-e3006e1f0c98f42f184647b569819771bb589ae8.tar.bz2 |
Fix build for 2.4.
-rw-r--r-- | linux/drivers/media/common/saa7146_i2c.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/common/saa7146_i2c.c b/linux/drivers/media/common/saa7146_i2c.c index e9c1435b6..8871d4cfe 100644 --- a/linux/drivers/media/common/saa7146_i2c.c +++ b/linux/drivers/media/common/saa7146_i2c.c @@ -419,7 +419,10 @@ int saa7146_i2c_adapter_prepare(struct saa7146_dev *dev, struct i2c_adapter *i2c i2c_adapter->id = I2C_ALGO_SAA7146; i2c_adapter->timeout = SAA7146_I2C_TIMEOUT; i2c_adapter->retries = SAA7146_I2C_RETRIES; +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) +#else i2c_adapter->class = I2C_ADAP_CLASS_TV_ANALOG; +#endif } return 0; |