Skip to content

Commit

Permalink
[media] dib9000: get rid of warning: no previous prototype
Browse files Browse the repository at this point in the history
drivers/media/dvb-frontends/dib9000.h:100:5: warning: no previous prototype for 'dib9000_remove_slave_frontend' [-Wmissing-prototypes]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent eda9471 commit 2e8c1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/dib9000.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static inline int dib9000_set_slave_frontend(struct dvb_frontend *fe, struct dvb
return -ENODEV;
}

int dib9000_remove_slave_frontend(struct dvb_frontend *fe)
static inline int dib9000_remove_slave_frontend(struct dvb_frontend *fe)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return -ENODEV;
Expand Down

0 comments on commit 2e8c1e5

Please sign in to comment.