summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/cxd2820r_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/cxd2820r_c.c')
-rw-r--r--drivers/media/dvb/frontends/cxd2820r_c.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/drivers/media/dvb/frontends/cxd2820r_c.c b/drivers/media/dvb/frontends/cxd2820r_c.c
index a94bff944722..3c07d400731d 100644
--- a/drivers/media/dvb/frontends/cxd2820r_c.c
+++ b/drivers/media/dvb/frontends/cxd2820r_c.c
@@ -19,7 +19,9 @@
*/
-static int cxd2820r_set_frontend_c(struct dvb_frontend *fe,
+#include "cxd2820r_priv.h"
+
+int cxd2820r_set_frontend_c(struct dvb_frontend *fe,
struct dvb_frontend_parameters *params)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
@@ -92,7 +94,7 @@ error:
return ret;
}
-static int cxd2820r_get_frontend_c(struct dvb_frontend *fe,
+int cxd2820r_get_frontend_c(struct dvb_frontend *fe,
struct dvb_frontend_parameters *p)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
@@ -143,7 +145,7 @@ error:
return ret;
}
-static int cxd2820r_read_ber_c(struct dvb_frontend *fe, u32 *ber)
+int cxd2820r_read_ber_c(struct dvb_frontend *fe, u32 *ber)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
int ret;
@@ -177,7 +179,7 @@ error:
return ret;
}
-static int cxd2820r_read_signal_strength_c(struct dvb_frontend *fe,
+int cxd2820r_read_signal_strength_c(struct dvb_frontend *fe,
u16 *strength)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
@@ -207,7 +209,7 @@ error:
return ret;
}
-static int cxd2820r_read_snr_c(struct dvb_frontend *fe, u16 *snr)
+int cxd2820r_read_snr_c(struct dvb_frontend *fe, u16 *snr)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
int ret;
@@ -244,14 +246,14 @@ error:
return ret;
}
-static int cxd2820r_read_ucblocks_c(struct dvb_frontend *fe, u32 *ucblocks)
+int cxd2820r_read_ucblocks_c(struct dvb_frontend *fe, u32 *ucblocks)
{
*ucblocks = 0;
/* no way to read ? */
return 0;
}
-static int cxd2820r_read_status_c(struct dvb_frontend *fe, fe_status_t *status)
+int cxd2820r_read_status_c(struct dvb_frontend *fe, fe_status_t *status)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
int ret;
@@ -280,7 +282,7 @@ error:
return ret;
}
-static int cxd2820r_init_c(struct dvb_frontend *fe)
+int cxd2820r_init_c(struct dvb_frontend *fe)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
int ret;
@@ -295,7 +297,7 @@ error:
return ret;
}
-static int cxd2820r_sleep_c(struct dvb_frontend *fe)
+int cxd2820r_sleep_c(struct dvb_frontend *fe)
{
struct cxd2820r_priv *priv = fe->demodulator_priv;
int ret, i;
@@ -324,7 +326,7 @@ error:
return ret;
}
-static int cxd2820r_get_tune_settings_c(struct dvb_frontend *fe,
+int cxd2820r_get_tune_settings_c(struct dvb_frontend *fe,
struct dvb_frontend_tune_settings *s)
{
s->min_delay_ms = 500;