summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2006-03-01 00:23:11 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-08 15:37:18 +0100
commit69b27e3dfebff8f59e979d57263e1cd83c4d8370 (patch)
tree81f03605607c713158adb52472ace8235f44a23e
parentV4L/DVB (3409): Kconfig: fix in-kernel build for cx88-dvb: zl10353 frontend (diff)
downloadlinux-69b27e3dfebff8f59e979d57263e1cd83c4d8370.tar.xz
linux-69b27e3dfebff8f59e979d57263e1cd83c4d8370.zip
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)
{
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 },