Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179546
b: refs/heads/master
c: 28fddb7
h: refs/heads/master
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 0c6d958 commit e6f552a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5ae4f6f482191c531ea9e50ac91d9bd2ffca171
refs/heads/master: 28fddb7cd5b7a12b81c8ec1a358749e60760e741
14 changes: 14 additions & 0 deletions trunk/drivers/media/dvb/frontends/mb86a16.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,22 @@ struct mb86a16_config {
int (*set_voltage)(struct dvb_frontend *fe, fe_sec_voltage_t voltage);
};



#if defined(CONFIG_DVB_MB86A16) || (defined(CONFIG_DVB_MB86A16_MODULE) && defined(MODULE))

extern struct dvb_frontend *mb86a16_attach(const struct mb86a16_config *config,
struct i2c_adapter *i2c_adap);

#else

static inline struct dvb_frontend *mb86a16_attach(const struct mb86a16_config *config,
struct i2c_adapter *i2c_adap)
{
printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__);
return NULL;
}

#endif /* CONFIG_DVB_MB86A16 */

#endif /* __MB86A16_H */

0 comments on commit e6f552a

Please sign in to comment.