diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-08-31 16:15:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:00 -0400 |
commit | 62c7167dd7b7556abdb107d32e3c4fbea61539c6 (patch) | |
tree | f8add354c652542faab49731f64741d531525684 /drivers/media/dvb | |
parent | d54093afb1eaa34ff0026cfcf72f471b9bf77e8a (diff) |
V4L/DVB (10747): sms1xxx: move definition of struct smsdvb_client_t into smsdvb.c
Nobody uses struct smsdvb_client_t other than smsdvb.c --
this does not need to be inside smscoreapi.h
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/siano/smscoreapi.h | 21 | ||||
-rw-r--r-- | drivers/media/dvb/siano/smsdvb.c | 20 |
2 files changed, 20 insertions, 21 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.h b/drivers/media/dvb/siano/smscoreapi.h index 760e233fcbc5..bd3cc2e26abd 100644 --- a/drivers/media/dvb/siano/smscoreapi.h +++ b/drivers/media/dvb/siano/smscoreapi.h | |||
@@ -369,27 +369,6 @@ struct smscore_gpio_config { | |||
369 | u8 outputdriving; | 369 | u8 outputdriving; |
370 | }; | 370 | }; |
371 | 371 | ||
372 | struct smsdvb_client_t { | ||
373 | struct list_head entry; | ||
374 | |||
375 | struct smscore_device_t *coredev; | ||
376 | struct smscore_client_t *smsclient; | ||
377 | |||
378 | struct dvb_adapter adapter; | ||
379 | struct dvb_demux demux; | ||
380 | struct dmxdev dmxdev; | ||
381 | struct dvb_frontend frontend; | ||
382 | |||
383 | fe_status_t fe_status; | ||
384 | int fe_ber, fe_snr, fe_unc, fe_signal_strength; | ||
385 | |||
386 | struct completion tune_done, stat_done; | ||
387 | |||
388 | /* todo: save freq/band instead whole struct */ | ||
389 | struct dvb_frontend_parameters fe_params; | ||
390 | |||
391 | }; | ||
392 | |||
393 | extern void smscore_registry_setmode(char *devpath, int mode); | 372 | extern void smscore_registry_setmode(char *devpath, int mode); |
394 | extern int smscore_registry_getmode(char *devpath); | 373 | extern int smscore_registry_getmode(char *devpath); |
395 | 374 | ||
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c index 0a7af92b66aa..28e904890016 100644 --- a/drivers/media/dvb/siano/smsdvb.c +++ b/drivers/media/dvb/siano/smsdvb.c | |||
@@ -27,6 +27,26 @@ | |||
27 | 27 | ||
28 | DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); | 28 | DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); |
29 | 29 | ||
30 | struct smsdvb_client_t { | ||
31 | struct list_head entry; | ||
32 | |||
33 | struct smscore_device_t *coredev; | ||
34 | struct smscore_client_t *smsclient; | ||
35 | |||
36 | struct dvb_adapter adapter; | ||
37 | struct dvb_demux demux; | ||
38 | struct dmxdev dmxdev; | ||
39 | struct dvb_frontend frontend; | ||
40 | |||
41 | fe_status_t fe_status; | ||
42 | int fe_ber, fe_snr, fe_unc, fe_signal_strength; | ||
43 | |||
44 | struct completion tune_done, stat_done; | ||
45 | |||
46 | /* todo: save freq/band instead whole struct */ | ||
47 | struct dvb_frontend_parameters fe_params; | ||
48 | }; | ||
49 | |||
30 | static struct list_head g_smsdvb_clients; | 50 | static struct list_head g_smsdvb_clients; |
31 | static struct mutex g_smsdvb_clientslock; | 51 | static struct mutex g_smsdvb_clientslock; |
32 | 52 | ||