summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/dib9000.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 14:31:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-28 07:38:33 -0200
commit2e8c1e569392c84a926b9bf94176c5d7ba5d3e50 (patch)
treeab161c13e584cc827610ed9cc0674789eb32f2a5 /drivers/media/dvb-frontends/dib9000.h
parenteda94710d6502672c5ee7de198fa78a63ddfae3a (diff)
[media] dib9000: get rid of warning: no previous prototype
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>
Diffstat (limited to 'drivers/media/dvb-frontends/dib9000.h')
-rw-r--r--drivers/media/dvb-frontends/dib9000.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/dib9000.h b/drivers/media/dvb-frontends/dib9000.h
index b5781a48034c..de1cc91fd833 100644
--- a/drivers/media/dvb-frontends/dib9000.h
+++ b/drivers/media/dvb-frontends/dib9000.h
@@ -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;