media: radio-si470x: make si470x_viddev_template const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 27 Sep 2017 08:38:29 +0000 (04:38 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 10:38:22 +0000 (06:38 -0400)
commit82fad4762565ccae181c2d5ee332d47456e6ed7f
treeff5a4a1d606794e883ba3d31a4e9a6f81fd1d516
parent0dd7054129c9b3d54c3716b8e38dcfcb43fe305d
media: radio-si470x: make si470x_viddev_template const

Make this const as it is only used in a copy operation in the files
referencing it. Add const to declaration in the header too.

Structure found using Coccienlle and changes done by hand.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/si470x/radio-si470x-common.c
drivers/media/radio/si470x/radio-si470x.h