From: Chris Pascoe Date: Tue, 28 Feb 2006 23:23:11 +0000 (-0300) Subject: V4L/DVB (3410): Move DViCO hybrid initialisation data from stack. X-Git-Tag: v2.6.17-rc1~1183^2~54 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=69b27e3dfebff8f59e979d57263e1cd83c4d8370;p=karo-tx-linux.git 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: Michael Krufky Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index d91e5b3a64ef..f655567a8ecd 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c @@ -1435,7 +1435,7 @@ static void dvico_fusionhdtv_hybrid_init(struct cx88_core *core) { struct i2c_msg msg = { .addr = 0x45, .flags = 0 }; int i, err; - u8 init_bufs[13][5] = { + static u8 init_bufs[13][5] = { { 0x10, 0x00, 0x20, 0x01, 0x03 }, { 0x10, 0x10, 0x01, 0x00, 0x21 }, { 0x10, 0x10, 0x10, 0x00, 0xCA },