Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 },