diff options
author | Ezequiel GarcĂa <elezegarcia@gmail.com> | 2012-06-27 17:52:49 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-31 00:53:03 +0200 |
commit | b26f453963a5275a5c408beee7663d5bc096620f (patch) | |
tree | 5e6e4ba32687891adcf71098a79a9b1ee3d2fd46 /drivers/media/video/cx25821/cx25821.h | |
parent | [media] cx231xx: Remove useless struct i2c_algo_bit_data (diff) | |
download | linux-b26f453963a5275a5c408beee7663d5bc096620f.tar.xz linux-b26f453963a5275a5c408beee7663d5bc096620f.zip |
[media] cx25821: 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/cx25821/cx25821.h')
-rw-r--r-- | drivers/media/video/cx25821/cx25821.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx25821/cx25821.h b/drivers/media/video/cx25821/cx25821.h index b9aa801b00a7..ed525016f165 100644 --- a/drivers/media/video/cx25821/cx25821.h +++ b/drivers/media/video/cx25821/cx25821.h @@ -26,7 +26,6 @@ #include <linux/pci.h> #include <linux/i2c.h> -#include <linux/i2c-algo-bit.h> #include <linux/interrupt.h> #include <linux/delay.h> #include <linux/sched.h> @@ -213,7 +212,6 @@ struct cx25821_i2c { /* i2c i/o */ struct i2c_adapter i2c_adap; - struct i2c_algo_bit_data i2c_algo; struct i2c_client i2c_client; u32 i2c_rc; |