diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-15 12:01:48 -0400 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-06-15 12:01:48 -0400 |
commit | fa1b2ca4fa271f9300a764b9d505a027156f749b (patch) | |
tree | a8a86d1aa7be4d8de0236938e9626466af191dbb /drivers/video/tdfxfb.c | |
parent | 66b650f04576a6737579ec404446450026ff2e0b (diff) |
i2c: Do not probe for TV chips on Voodoo3 adapters
There's no point in giving the I2C bus of Voodoo3 adapters a class
value, there's no video chip driver checking for it anymore. If
support is ever needed, the video device should be instantiated
explicitly rather than probed.
To the best of my knowledge the only video chip that can be found on
these boards is a BT869 video encoder, for which no support exists
currently.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Diffstat (limited to 'drivers/video/tdfxfb.c')
-rw-r--r-- | drivers/video/tdfxfb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/tdfxfb.c b/drivers/video/tdfxfb.c index 89f231dc443f..ff43c8885028 100644 --- a/drivers/video/tdfxfb.c +++ b/drivers/video/tdfxfb.c | |||
@@ -1315,7 +1315,6 @@ static int __devinit tdfxfb_setup_i2c_bus(struct tdfxfb_i2c_chan *chan, | |||
1315 | 1315 | ||
1316 | strlcpy(chan->adapter.name, name, sizeof(chan->adapter.name)); | 1316 | strlcpy(chan->adapter.name, name, sizeof(chan->adapter.name)); |
1317 | chan->adapter.owner = THIS_MODULE; | 1317 | chan->adapter.owner = THIS_MODULE; |
1318 | chan->adapter.class = I2C_CLASS_TV_ANALOG; | ||
1319 | chan->adapter.algo_data = &chan->algo; | 1318 | chan->adapter.algo_data = &chan->algo; |
1320 | chan->adapter.dev.parent = dev; | 1319 | chan->adapter.dev.parent = dev; |
1321 | chan->algo.setsda = tdfxfb_i2c_setsda; | 1320 | chan->algo.setsda = tdfxfb_i2c_setsda; |