diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2006-03-01 09:23:11 +1000 |
---|---|---|
committer | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2006-03-01 09:23:11 +1000 |
commit | 684422e5c00ddc1140a88e1f6ef71bb4b373a2d5 (patch) | |
tree | 674a1df18e873600835b8bdde85fc1bb42e6ed8a /linux/drivers/media | |
parent | 051f213dee64226c9fb71f4ba160878918bae9f2 (diff) | |
download | mediapointer-dvb-s2-684422e5c00ddc1140a88e1f6ef71bb4b373a2d5.tar.gz mediapointer-dvb-s2-684422e5c00ddc1140a88e1f6ef71bb4b373a2d5.tar.bz2 |
Move DViCO hybrid initialisation data from stack.
From: Chris Pascoe <c.pascoe@itee.uq.edu.au>
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>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 494dc0db3..ee98a974f 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -1448,7 +1448,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 }, |