diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-12 13:09:55 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-12 13:09:55 +0000 |
commit | 897df2a4edc8a794befcd10d52db7c000994a46d (patch) | |
tree | 1ca41f55afffb21aa0b3ba3d8844205e92ccd6b6 /linux/drivers/media/video/tda9875.c | |
parent | 53e0372380feff0b202c4178d178cf7ba96c475d (diff) | |
download | mediapointer-dvb-s2-897df2a4edc8a794befcd10d52db7c000994a46d.tar.gz mediapointer-dvb-s2-897df2a4edc8a794befcd10d52db7c000994a46d.tar.bz2 |
removed uneeded init on structs like static int foo=0
From: Mauro Carvalho Chehab <mchehab@infradead.org>
- static vars are equal to zero by default. Removed
unnecessary =0 from them, saving some data space;
- Fixed compiling against kernels bellow 2.6.13.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tda9875.c')
-rw-r--r-- | linux/drivers/media/video/tda9875.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tda9875.c b/linux/drivers/media/video/tda9875.c index e61e36591..83f29e7d3 100644 --- a/linux/drivers/media/video/tda9875.c +++ b/linux/drivers/media/video/tda9875.c @@ -51,6 +51,9 @@ static unsigned short normal_i2c[] = { I2C_CLIENT_END }; I2C_CLIENT_INSMOD; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13) +static unsigned short normal_i2c_range[] = { I2C_CLIENT_END }; +#endif /* This is a superset of the TDA9875 */ struct tda9875 { |