diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-28 03:42:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 08:28:03 -0400 |
commit | b8e9b36d2fc463d87f7b595fedf7ed7ae68dba1d (patch) | |
tree | 99385b17cad1f1a5a9b6d800201f263230888011 /drivers/media/pci/saa7134 | |
parent | 2b83247f3e4a40c767dcbc149b7ad544e2e6c002 (diff) | |
download | linux-stable-b8e9b36d2fc463d87f7b595fedf7ed7ae68dba1d.tar.gz linux-stable-b8e9b36d2fc463d87f7b595fedf7ed7ae68dba1d.tar.bz2 linux-stable-b8e9b36d2fc463d87f7b595fedf7ed7ae68dba1d.zip |
media: pci: make i2c_client const
Make these const as they are only used in a copy operation.
Done using Coccinelle.
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>
Diffstat (limited to 'drivers/media/pci/saa7134')
-rw-r--r-- | drivers/media/pci/saa7134/saa7134-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-i2c.c b/drivers/media/pci/saa7134/saa7134-i2c.c index 8f2ed632840f..cf1e526de56a 100644 --- a/drivers/media/pci/saa7134/saa7134-i2c.c +++ b/drivers/media/pci/saa7134/saa7134-i2c.c @@ -345,7 +345,7 @@ static const struct i2c_adapter saa7134_adap_template = { .algo = &saa7134_algo, }; -static struct i2c_client saa7134_client_template = { +static const struct i2c_client saa7134_client_template = { .name = "saa7134 internal", }; |