mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
prevent warning if KERNEL_DVB_CORE=y is used
This commit is contained in:
parent
f8726493b1
commit
da1594d424
@ -559,7 +559,9 @@ static enum dvbfe_algo get_algo(struct dvb_frontend *fe)
|
||||
static int set_input(struct dvb_frontend *fe, int input)
|
||||
{
|
||||
struct sx8 *state = fe->demodulator_priv;
|
||||
#ifndef KERNEL_DVB_CORE
|
||||
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
|
||||
#endif
|
||||
|
||||
if (input >= SX8_TUNER_NUM)
|
||||
return -EINVAL;
|
||||
|
@ -823,7 +823,9 @@ static int get_frontend(struct dvb_frontend *fe, struct dtv_frontend_properties
|
||||
static int set_input(struct dvb_frontend *fe, int input)
|
||||
{
|
||||
struct mxl *state = fe->demodulator_priv;
|
||||
#ifndef KERNEL_DVB_CORE
|
||||
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
|
||||
#endif
|
||||
|
||||
state->tuner = input;
|
||||
#ifndef KERNEL_DVB_CORE
|
||||
|
Loading…
x
Reference in New Issue
Block a user