Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76644
b: refs/heads/master
c: 7972f98
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 591567b commit 44357b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 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: fb6d8e2c7fe1667d8ce057e333b18deb91191be5
refs/heads/master: 7972f9880c8c812332a56da7cfa4523d01ea310b
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,8 @@ static const struct dvb_tuner_ops xc2028_dvb_tuner_ops = {

};

void *xc2028_attach(struct dvb_frontend *fe, struct xc2028_config *cfg)
struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe,
struct xc2028_config *cfg)
{
struct xc2028_data *priv;
void *video_dev;
Expand Down
9 changes: 5 additions & 4 deletions trunk/drivers/media/video/tuner-xc2028.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ struct xc2028_config {
#define XC2028_RESET_CLK 1

#if defined(CONFIG_TUNER_XC2028) || (defined(CONFIG_TUNER_XC2028_MODULE) && defined(MODULE))
void *xc2028_attach(struct dvb_frontend *fe, struct xc2028_config *cfg);
extern struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe,
struct xc2028_config *cfg);
#else
void *xc2028_attach(struct dvb_frontend *fe,
struct xc2028_config *cfg)
static inline struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe,
struct xc2028_config *cfg)
{
printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n",
__FUNCTION__);
return -EINVAL;
return NULL;
}
#endif

Expand Down

0 comments on commit 44357b0

Please sign in to comment.