diff mbox

Fix some cut-and-paste noise in dib0090.h

Message ID 4B2391F1.4000908@duncangibb.com (mailing list archive)
State Accepted
Headers show

Commit Message

Duncan Gibb Dec. 12, 2009, 12:52 p.m. UTC
None
diff mbox

Patch

diff -r db37ff59927f linux/drivers/media/dvb/frontends/dib0090.h
--- a/linux/drivers/media/dvb/frontends/dib0090.h       Thu Dec 10 18:17:49 2009 -0200
+++ b/linux/drivers/media/dvb/frontends/dib0090.h       Sat Dec 12 12:41:23 2009 +0000
@@ -57,7 +57,6 @@ 
 extern int dib0090_gain_control(struct dvb_frontend *fe);
 extern enum frontend_tune_state dib0090_get_tune_state(struct dvb_frontend *fe);
 extern int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state);
-extern enum frontend_tune_state dib0090_get_tune_state(struct dvb_frontend *fe);
 extern void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt);
 #else
 static inline struct dvb_frontend *dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0090_config *config)
@@ -100,11 +99,6 @@ 
        return -ENODEV;
 }

-static inline num frontend_tune_state dib0090_get_tune_state(struct dvb_frontend *fe)
-{
-       printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
-return CT_SHUTDOWN,}
-
 static inline void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt)
 {
        printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);