summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164.h
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <elezegarcia@gmail.com>2012-06-27 17:52:46 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-31 00:52:22 +0200
commit6fe31039d40d73968fe75c543d6b623bcbf5ecb9 (patch)
treedc39703f3cef413c802969ef0ab07dce59fad7ec /drivers/media/video/saa7164/saa7164.h
parent[media] Feature removal: using capture and output capabilities for m2m devices (diff)
downloadlinux-6fe31039d40d73968fe75c543d6b623bcbf5ecb9.tar.xz
linux-6fe31039d40d73968fe75c543d6b623bcbf5ecb9.zip
[media] saa7164: Remove useless struct i2c_algo_bit_data
The field 'struct i2c_algo_bit_data i2c_algo' is wrongly confused with struct i2c_algorithm. Moreover, i2c_algo field is not used since i2c is registered using i2c_add_adpater() and not i2c_bit_add_bus(). Therefore, it's safe to remove it. Tested by compilation only. Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164.h')
-rw-r--r--drivers/media/video/saa7164/saa7164.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164.h b/drivers/media/video/saa7164/saa7164.h
index 8d120e3baf70..fc1f854cbe89 100644
--- a/drivers/media/video/saa7164/saa7164.h
+++ b/drivers/media/video/saa7164/saa7164.h
@@ -251,7 +251,6 @@ struct saa7164_i2c {
/* I2C I/O */
struct i2c_adapter i2c_adap;
- struct i2c_algo_bit_data i2c_algo;
struct i2c_client i2c_client;
u32 i2c_rc;
};