Skip to content

Commit

Permalink
V4L/DVB (10747): sms1xxx: move definition of struct smsdvb_client_t i…
Browse files Browse the repository at this point in the history
…nto 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>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent d54093a commit 62c7167
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
21 changes: 0 additions & 21 deletions drivers/media/dvb/siano/smscoreapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -369,27 +369,6 @@ struct smscore_gpio_config {
u8 outputdriving;
};

struct smsdvb_client_t {
struct list_head entry;

struct smscore_device_t *coredev;
struct smscore_client_t *smsclient;

struct dvb_adapter adapter;
struct dvb_demux demux;
struct dmxdev dmxdev;
struct dvb_frontend frontend;

fe_status_t fe_status;
int fe_ber, fe_snr, fe_unc, fe_signal_strength;

struct completion tune_done, stat_done;

/* todo: save freq/band instead whole struct */
struct dvb_frontend_parameters fe_params;

};

extern void smscore_registry_setmode(char *devpath, int mode);
extern int smscore_registry_getmode(char *devpath);

Expand Down
20 changes: 20 additions & 0 deletions drivers/media/dvb/siano/smsdvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@

DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

struct smsdvb_client_t {
struct list_head entry;

struct smscore_device_t *coredev;
struct smscore_client_t *smsclient;

struct dvb_adapter adapter;
struct dvb_demux demux;
struct dmxdev dmxdev;
struct dvb_frontend frontend;

fe_status_t fe_status;
int fe_ber, fe_snr, fe_unc, fe_signal_strength;

struct completion tune_done, stat_done;

/* todo: save freq/band instead whole struct */
struct dvb_frontend_parameters fe_params;
};

static struct list_head g_smsdvb_clients;
static struct mutex g_smsdvb_clientslock;

Expand Down

0 comments on commit 62c7167

Please sign in to comment.