diff options
author | Julia Lawall | 2015-11-22 08:45:34 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2015-12-23 16:52:30 +0100 |
commit | 4e9691aa40e36197be164b79c8a81d2702940e78 (patch) | |
tree | 25d7b36124dfa823976d03b540971dd2a601aa12 /drivers/media/platform/s5p-mfc/s5p_mfc_enc.h | |
parent | [media] au8522: Avoid memory leak for device config data (diff) | |
download | kernel-qcow2-linux-4e9691aa40e36197be164b79c8a81d2702940e78.tar.gz kernel-qcow2-linux-4e9691aa40e36197be164b79c8a81d2702940e78.tar.xz kernel-qcow2-linux-4e9691aa40e36197be164b79c8a81d2702940e78.zip |
[media] s5p-mfc: constify s5p_mfc_codec_ops structures
The s5p_mfc_codec_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>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/s5p-mfc/s5p_mfc_enc.h')
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_enc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.h b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.h index 5118d46b3a9e..d0d42f818832 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.h +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.h @@ -13,7 +13,7 @@ #ifndef S5P_MFC_ENC_H_ #define S5P_MFC_ENC_H_ -struct s5p_mfc_codec_ops *get_enc_codec_ops(void); +const struct s5p_mfc_codec_ops *get_enc_codec_ops(void); struct vb2_ops *get_enc_queue_ops(void); const struct v4l2_ioctl_ops *get_enc_v4l2_ioctl_ops(void); struct s5p_mfc_fmt *get_enc_def_fmt(bool src); |