]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
V4L/DVB (3410): Move DViCO hybrid initialisation data from stack.
authorChris Pascoe <c.pascoe@itee.uq.edu.au>
Tue, 28 Feb 2006 23:23:11 +0000 (20:23 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 8 Mar 2006 14:37:18 +0000 (11:37 -0300)
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 <mkrufky@linuxtv.org>
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-cards.c

index d91e5b3a64efa36011654a70212ee44617ac138b..f655567a8ecd9101679b9fce44a94b7a9cdf346a 100644 (file)
@@ -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 },