summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-tea5777.h
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-13 09:38:32 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-11-17 14:52:15 -0200
commit18a8560cbd627c96477f8f44513e3744d84aced8 (patch)
tree18bf0dd70d0fc9c2d666312a4607454d5aa51cf2 /drivers/media/radio/radio-tea5777.h
parente88a3f81215e470cd3228a5d746eb7ad9fd1965a (diff)
downloadop-kernel-dev-18a8560cbd627c96477f8f44513e3744d84aced8.zip
op-kernel-dev-18a8560cbd627c96477f8f44513e3744d84aced8.tar.gz
[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>
Diffstat (limited to 'drivers/media/radio/radio-tea5777.h')
-rw-r--r--drivers/media/radio/radio-tea5777.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-tea5777.h b/drivers/media/radio/radio-tea5777.h
index 4ea43a9..4bd9425 100644
--- a/drivers/media/radio/radio-tea5777.h
+++ b/drivers/media/radio/radio-tea5777.h
@@ -76,7 +76,7 @@ struct radio_tea5777 {
u32 read_reg;
u64 write_reg;
struct mutex mutex;
- struct radio_tea5777_ops *ops;
+ const struct radio_tea5777_ops *ops;
void *private_data;
u8 card[32];
u8 bus_info[32];
OpenPOWER on IntegriCloud