mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 19:40:56 +07:00
V4L/DVB (8946): dib7000m: fix powerpc build error
The dib7000m_i2c_enumeration() function is not used by any public drivers, however some prototype board use it. So '#if 0' for now, but don't remove it. Thanks to Patrick Boettcher for clarifying this. Cc: Patrick Boettcher <patrick.boettcher@desy.de> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
9ebeae5641
commit
942648af36
@ -1284,7 +1284,9 @@ struct i2c_adapter * dib7000m_get_i2c_master(struct dvb_frontend *demod, enum di
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(dib7000m_get_i2c_master);
|
EXPORT_SYMBOL(dib7000m_get_i2c_master);
|
||||||
|
|
||||||
static int dib7000m_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods,
|
#if 0
|
||||||
|
/* used with some prototype boards */
|
||||||
|
int dib7000m_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods,
|
||||||
u8 default_addr, struct dib7000m_config cfg[])
|
u8 default_addr, struct dib7000m_config cfg[])
|
||||||
{
|
{
|
||||||
struct dib7000m_state st = { .i2c_adap = i2c };
|
struct dib7000m_state st = { .i2c_adap = i2c };
|
||||||
@ -1330,6 +1332,7 @@ static int dib7000m_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(dib7000m_i2c_enumeration);
|
EXPORT_SYMBOL(dib7000m_i2c_enumeration);
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct dvb_frontend_ops dib7000m_ops;
|
static struct dvb_frontend_ops dib7000m_ops;
|
||||||
struct dvb_frontend * dib7000m_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000m_config *cfg)
|
struct dvb_frontend * dib7000m_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000m_config *cfg)
|
||||||
|
Loading…
Reference in New Issue
Block a user