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

compile fixes

This commit is contained in:
Ralph Metzler 2016-06-10 09:44:04 +02:00
parent 39ce49dbd8
commit 2d71c946d3

View File

@ -4868,7 +4868,6 @@ static int drxk_set_parameters (struct dvb_frontend *fe,
{
#ifndef USE_API3
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
u32 delsys = p->delivery_system, old_delsys;
#endif
struct drxk_state *state = fe->demodulator_priv;
u32 IF;
@ -4896,7 +4895,11 @@ static int drxk_set_parameters (struct dvb_frontend *fe,
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)
#endif
{
//struct drxk_state *state = fe->demodulator_priv;
//printk("%s\n", __FUNCTION__);
@ -4990,7 +4993,11 @@ static int drxk_t_sleep(struct dvb_frontend* fe)
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)
#endif
{
//struct drxk_state *state = fe->demodulator_priv;
//printk("%s\n", __FUNCTION__);