diff mbox

dvb/dib8000: fix build warning

Message ID 1270440866-23421-1-git-send-email-w.sang@pengutronix.de (mailing list archive)
State Accepted
Headers show

Commit Message

Wolfram Sang April 5, 2010, 4:14 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/dvb/frontends/dib8000.h b/drivers/media/dvb/frontends/dib8000.h
index b1ee207..e0a9ded 100644
--- a/drivers/media/dvb/frontends/dib8000.h
+++ b/drivers/media/dvb/frontends/dib8000.h
@@ -109,6 +109,7 @@  static inline void dib8000_pwm_agc_reset(struct dvb_frontend *fe)
 static inline s32 dib8000_get_adc_power(struct dvb_frontend *fe, u8 mode)
 {
 	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
+	return 0;
 }
 #endif