Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306415
b: refs/heads/master
c: 60ab5e1
h: refs/heads/master
i:
  306413: 6586d0e
  306411: d4f6faf
  306407: ac9beca
  306399: 1f415d4
v: v3
  • Loading branch information
Arnd Bergmann authored and Mauro Carvalho Chehab committed May 15, 2012
1 parent 9d6d9dc commit c33f3f8
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: d0f8dfc6e74df5cdefb65ae27d52d848d3973cc8
refs/heads/master: 60ab5e12879bd15416c05e6b0460689163581164
14 changes: 14 additions & 0 deletions trunk/drivers/media/dvb/frontends/drxd.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,23 @@ struct drxd_config {
s16(*osc_deviation) (void *priv, s16 dev, int flag);
};

#if defined(CONFIG_DVB_DRXD) || \
(defined(CONFIG_DVB_DRXD_MODULE) && defined(MODULE))
extern
struct dvb_frontend *drxd_attach(const struct drxd_config *config,
void *priv, struct i2c_adapter *i2c,
struct device *dev);
#else
static inline
struct dvb_frontend *drxd_attach(const struct drxd_config *config,
void *priv, struct i2c_adapter *i2c,
struct device *dev)
{
printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n",
__func__);
return NULL;
}
#endif

extern int drxd_config_i2c(struct dvb_frontend *, int);
#endif

0 comments on commit c33f3f8

Please sign in to comment.