]> git.baikalelectronics.ru Git - kernel.git/commit
[media] radio-shark2: constify radio_tea5777_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 13 Nov 2015 11:38:32 +0000 (09:38 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 16:52:15 +0000 (14:52 -0200)
commit608211c3a786f155783a4ee94829fd498da6f40d
tree18bf0dd70d0fc9c2d666312a4607454d5aa51cf2
parent1f45ee8c6d1450db71a790632b9c9a3945716379
[media] radio-shark2: constify radio_tea5777_ops structures

The radio_tea5777_ops structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/radio/radio-shark2.c
drivers/media/radio/radio-tea5777.h