diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-22 13:32:53 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-03 16:26:45 +0300 |
commit | 22dbec265c4fbea4cecc37bcbdbb730c0bc639ff (patch) | |
tree | 5b667ac50935e804b5f764ffbad7ab95686b5223 /include/media/drv-intf | |
parent | 85f9e06c59cb93db93b163388d77d7aa9b6eed5a (diff) | |
download | linux-22dbec265c4fbea4cecc37bcbdbb730c0bc639ff.tar.xz |
[media] media, sound: tea575x: constify snd_tea575x_ops structures
The snd_tea575x_ops structures are never modified, so declare them as
const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/drv-intf')
-rw-r--r-- | include/media/drv-intf/tea575x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/drv-intf/tea575x.h b/include/media/drv-intf/tea575x.h index 5d096578b736..fb272d48ba33 100644 --- a/include/media/drv-intf/tea575x.h +++ b/include/media/drv-intf/tea575x.h @@ -63,7 +63,7 @@ struct snd_tea575x { u32 band; /* 0: FM, 1: FM-Japan, 2: AM */ u32 freq; /* frequency */ struct mutex mutex; - struct snd_tea575x_ops *ops; + const struct snd_tea575x_ops *ops; void *private_data; u8 card[32]; u8 bus_info[32]; |