aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-cards.c
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2006-02-28 20:23:11 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-08 11:37:18 -0300
commit69b27e3dfebff8f59e979d57263e1cd83c4d8370 (patch)
tree81f03605607c713158adb52472ace8235f44a23e /drivers/media/video/cx88/cx88-cards.c
parent0785c87af1d1b6106b14c85f1267be8543f11d00 (diff)
downloadlinux-69b27e3dfebff8f59e979d57263e1cd83c4d8370.tar.gz
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>
Diffstat (limited to 'drivers/media/video/cx88/cx88-cards.c')
-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 d91e5b3a64efa3..f655567a8ecd91 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 },