1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

fix get_frontend callbacks

This commit is contained in:
Ralph Metzler 2016-06-16 15:38:58 +02:00
parent 0d27002a17
commit b36a6392cc

View File

@ -4895,11 +4895,7 @@ static int drxk_set_parameters (struct dvb_frontend *fe,
return 0; return 0;
} }
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0))
static int drxk_c_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
#else
static int drxk_c_get_frontend(struct dvb_frontend *fe) static int drxk_c_get_frontend(struct dvb_frontend *fe)
#endif
{ {
//struct drxk_state *state = fe->demodulator_priv; //struct drxk_state *state = fe->demodulator_priv;
//printk("%s\n", __FUNCTION__); //printk("%s\n", __FUNCTION__);
@ -4993,11 +4989,7 @@ static int drxk_t_sleep(struct dvb_frontend* fe)
return 0; return 0;
} }
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0))
static int drxk_t_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
#else
static int drxk_t_get_frontend(struct dvb_frontend *fe) static int drxk_t_get_frontend(struct dvb_frontend *fe)
#endif
{ {
//struct drxk_state *state = fe->demodulator_priv; //struct drxk_state *state = fe->demodulator_priv;
//printk("%s\n", __FUNCTION__); //printk("%s\n", __FUNCTION__);