mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
media: bt8xx: Make i2c_algo_bit_data const
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
07d3717a12
commit
4d947447cf
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ static int bttv_bit_getsda(void *data)
|
|||
return state;
|
||||
}
|
||||
|
||||
static struct i2c_algo_bit_data bttv_i2c_algo_bit_template = {
|
||||
static const struct i2c_algo_bit_data bttv_i2c_algo_bit_template = {
|
||||
.setsda = bttv_bit_setsda,
|
||||
.setscl = bttv_bit_setscl,
|
||||
.getsda = bttv_bit_getsda,
|
||||
|
|
Loading…
Reference in a new issue