Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97725
b: refs/heads/master
c: 2f1a1c7
h: refs/heads/master
i:
  97723: 12dc9a6
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jun 5, 2008
1 parent 87c8339 commit a05c91a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70345fbe4a76621808219c506f2480b39131e575
refs/heads/master: 2f1a1c7f9c10a87a6725e4b9603e4880c2059d71
15 changes: 14 additions & 1 deletion trunk/drivers/media/dvb/frontends/dib7000p.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,20 @@ struct dib7000p_config {

#define DEFAULT_DIB7000P_I2C_ADDRESS 18

extern struct dvb_frontend * dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000p_config *cfg);
#if defined(CONFIG_DVB_DIB7000P) || (defined(CONFIG_DVB_DIB7000P_MODULE) && defined(MODULE))
extern struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap,
u8 i2c_addr,
struct dib7000p_config *cfg);
#else
static inline struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap,
u8 i2c_addr,
struct dib7000p_config *cfg)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL;
}
#endif

extern int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 default_addr, struct dib7000p_config cfg[]);

extern struct i2c_adapter * dib7000p_get_i2c_master(struct dvb_frontend *, enum dibx000_i2c_interface, int);
Expand Down

0 comments on commit a05c91a

Please sign in to comment.