diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-28 22:11:19 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-28 22:11:19 +0000 |
commit | 385578235efd5f637ce504f497c112c341866a89 (patch) | |
tree | 394276052e29e105fcba97837e9ffd7b6b2cfb75 /linux/drivers | |
parent | 246715c1c023301500e19fa1fcb3ffdd67937963 (diff) | |
download | mediapointer-dvb-s2-385578235efd5f637ce504f497c112c341866a89.tar.gz mediapointer-dvb-s2-385578235efd5f637ce504f497c112c341866a89.tar.bz2 |
tuner-xc2028.c: make a function static
From: Adrian Bunk <bunk@kernel.org>
dump_firm_type_and_int_freq() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/tuner-xc2028.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c index 1700b97ea..e7ae8c40f 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -160,7 +160,7 @@ static unsigned int xc2028_get_reg(struct xc2028_data *priv, u16 reg, u16 *val) } #define dump_firm_type(t) dump_firm_type_and_int_freq(t, 0) -void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) +static void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) { if (type & BASE) printk("BASE "); @@ -770,10 +770,12 @@ skip_std_specific: } /* Load SCODE firmware, if exists */ - tuner_dbg("Trying to load scode %d\n", new_fw.scode_nr); + if (!new_fw.type & FM) { + tuner_dbg("Trying to load scode %d\n", new_fw.scode_nr); - rc = load_scode(fe, new_fw.type | new_fw.scode_table, &new_fw.id, - new_fw.int_freq, new_fw.scode_nr); + rc = load_scode(fe, new_fw.type | new_fw.scode_table, + &new_fw.id, new_fw.int_freq, new_fw.scode_nr); + } check_device: if (xc2028_get_reg(priv, 0x0004, &version) < 0 || |