Commit 69b27e3d authored by Chris Pascoe's avatar Chris Pascoe Committed by Mauro Carvalho Chehab

V4L/DVB (3410): Move DViCO hybrid initialisation data from stack.

The init_data array is never changed and need not be on the stack.
Turn it into a static variable.
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarChris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 0785c87a
...@@ -1435,7 +1435,7 @@ static void dvico_fusionhdtv_hybrid_init(struct cx88_core *core) ...@@ -1435,7 +1435,7 @@ static void dvico_fusionhdtv_hybrid_init(struct cx88_core *core)
{ {
struct i2c_msg msg = { .addr = 0x45, .flags = 0 }; struct i2c_msg msg = { .addr = 0x45, .flags = 0 };
int i, err; int i, err;
u8 init_bufs[13][5] = { static u8 init_bufs[13][5] = {
{ 0x10, 0x00, 0x20, 0x01, 0x03 }, { 0x10, 0x00, 0x20, 0x01, 0x03 },
{ 0x10, 0x10, 0x01, 0x00, 0x21 }, { 0x10, 0x10, 0x01, 0x00, 0x21 },
{ 0x10, 0x10, 0x10, 0x00, 0xCA }, { 0x10, 0x10, 0x10, 0x00, 0xCA },
......
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