summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-15 15:27:35 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-15 15:27:35 -0400
commitdca6d129e2f6f45454f71a73fdc216c8832052d6 (patch)
tree6dc2d44983b378189910e60e87589e5196464ba4 /linux/drivers
parente38ff54020fb40fd2180707356377040a79c3efc (diff)
downloadmediapointer-dvb-s2-dca6d129e2f6f45454f71a73fdc216c8832052d6.tar.gz
mediapointer-dvb-s2-dca6d129e2f6f45454f71a73fdc216c8832052d6.tar.bz2
sms1xxx: more cleanups
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.c30
1 files changed, 19 insertions, 11 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.c b/linux/drivers/media/dvb/siano/smscoreapi.c
index 8d7ede0e8..dda3cf853 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.c
+++ b/linux/drivers/media/dvb/siano/smscoreapi.c
@@ -784,15 +784,23 @@ int smscore_detect_mode(struct smscore_device_t *coredev)
}
char *smscore_fw_lkup[][SMS_NUM_OF_DEVICE_TYPES] = {
- /*Stellar NOVA A0 Nova B0 VEGA*/
- /*DVBT*/ {"none", "dvb_nova_12mhz.inp", "dvb_nova_12mhz_b0.inp", "none"},
- /*DVBH*/ {"none", "dvb_nova_12mhz.inp", "dvb_nova_12mhz_b0.inp", "none"},
- /*TDMB*/ {"none", "tdmb_nova_12mhz.inp", "none", "none"},
- /*DABIP*/ {"none", "none", "none", "none"},
- /*BDA*/ {"none", "dvb_nova_12mhz.inp", "dvb_nova_12mhz_b0.inp", "none"},
- /*ISDBT*/ {"none", "isdbt_nova_12mhz.inp", "dvb_nova_12mhz.inp", "none"},
- /*ISDBTBDA*/{"none", "isdbt_nova_12mhz.inp", "isdbt_nova_12mhz_b0.inp", "none"},
- /*CMMB*/ {"none", "none", "none", "cmmb_vega_12mhz.inp"}
+ /*Stellar NOVA A0 Nova B0 VEGA*/
+ /*DVBT*/
+ {"none", "dvb_nova_12mhz.inp", "dvb_nova_12mhz_b0.inp", "none"},
+ /*DVBH*/
+ {"none", "dvb_nova_12mhz.inp", "dvb_nova_12mhz_b0.inp", "none"},
+ /*TDMB*/
+ {"none", "tdmb_nova_12mhz.inp", "none", "none"},
+ /*DABIP*/
+ {"none", "none", "none", "none"},
+ /*BDA*/
+ {"none", "dvb_nova_12mhz.inp", "dvb_nova_12mhz_b0.inp", "none"},
+ /*ISDBT*/
+ {"none", "isdbt_nova_12mhz.inp", "dvb_nova_12mhz.inp", "none"},
+ /*ISDBTBDA*/
+ {"none", "isdbt_nova_12mhz.inp", "isdbt_nova_12mhz_b0.inp", "none"},
+ /*CMMB*/
+ {"none", "none", "none", "cmmb_vega_12mhz.inp"}
};
@@ -970,8 +978,8 @@ void smscore_onresponse(struct smscore_device_t *coredev,
int rc = -EBUSY;
#if 1
- static unsigned long last_sample_time = 0;
- static int data_total = 0;
+ static unsigned long last_sample_time; /* = 0; */
+ static int data_total; /* = 0; */
unsigned long time_now = jiffies_to_msecs(jiffies);
if (!last_sample_time)