aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2006-02-28 18:23:11 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-08 09:37:18 -0500
commit69b27e3dfebff8f59e979d57263e1cd83c4d8370 (patch)
tree81f03605607c713158adb52472ace8235f44a23e
parent0785c87af1d1b6106b14c85f1267be8543f11d00 (diff)
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 <mkrufky@linuxtv.org> Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/cx88/cx88-cards.c2
1 files changed, 1 insertions, 1 deletions
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)
1435{ 1435{
1436 struct i2c_msg msg = { .addr = 0x45, .flags = 0 }; 1436 struct i2c_msg msg = { .addr = 0x45, .flags = 0 };
1437 int i, err; 1437 int i, err;
1438 u8 init_bufs[13][5] = { 1438 static u8 init_bufs[13][5] = {
1439 { 0x10, 0x00, 0x20, 0x01, 0x03 }, 1439 { 0x10, 0x00, 0x20, 0x01, 0x03 },
1440 { 0x10, 0x10, 0x01, 0x00, 0x21 }, 1440 { 0x10, 0x10, 0x01, 0x00, 0x21 },
1441 { 0x10, 0x10, 0x10, 0x00, 0xCA }, 1441 { 0x10, 0x10, 0x10, 0x00, 0xCA },