mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 08:08:59 +07:00
media: venus: core: Constify codec frequency data array
The array is not changed in the code, so make it const. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
82223aa54b
commit
18cf8ba1d3
@ -456,7 +456,7 @@ static const struct freq_tbl sdm845_freq_table[] = {
|
||||
{ 244800, 100000000 }, /* 1920x1080@30 */
|
||||
};
|
||||
|
||||
static struct codec_freq_data sdm845_codec_freq_data[] = {
|
||||
static const struct codec_freq_data sdm845_codec_freq_data[] = {
|
||||
{ V4L2_PIX_FMT_H264, VIDC_SESSION_TYPE_ENC, 675, 10 },
|
||||
{ V4L2_PIX_FMT_HEVC, VIDC_SESSION_TYPE_ENC, 675, 10 },
|
||||
{ V4L2_PIX_FMT_VP8, VIDC_SESSION_TYPE_ENC, 675, 10 },
|
||||
|
Loading…
Reference in New Issue
Block a user