Commit e20f3906 authored by Colin Ian King's avatar Colin Ian King Committed by Hans Verkuil

media: mxl5005s: Make array RegAddr static const

Don't populate the read-only array RegAddr on the stack but instead
make it static const. Also makes the object code a little smaller.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 3257a767
......@@ -3637,7 +3637,7 @@ static u16 MXL_GetCHRegister_ZeroIF(struct dvb_frontend *fe, u8 *RegNum,
u16 status = 0;
int i;
u8 RegAddr[] = {43, 136};
static const u8 RegAddr[] = {43, 136};
*count = ARRAY_SIZE(RegAddr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment