From patchwork Sat Dec 12 12:52:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Duncan Gibb X-Patchwork-Id: 66928 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nBCDGHLo002296 for ; Sat, 12 Dec 2009 13:16:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759754AbZLLNQJ (ORCPT ); Sat, 12 Dec 2009 08:16:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759780AbZLLNQI (ORCPT ); Sat, 12 Dec 2009 08:16:08 -0500 Received: from snail.duncangibb.com ([217.169.3.184]:4625 "EHLO snail.duncangibb.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759753AbZLLNQI (ORCPT ); Sat, 12 Dec 2009 08:16:08 -0500 X-Greylist: delayed 1465 seconds by postgrey-1.27 at vger.kernel.org; Sat, 12 Dec 2009 08:16:07 EST Received: from edna.duncangibb.com ([217.169.3.179]) by snail.duncangibb.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NJRS6-000788-69 for linux-media@vger.kernel.org; Sat, 12 Dec 2009 12:52:04 +0000 Message-ID: <4B2391F1.4000908@duncangibb.com> Date: Sat, 12 Dec 2009 12:52:01 +0000 From: Duncan Gibb User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: linux-media@vger.kernel.org X-Enigmail-Version: 0.95.0 X-SA-Exim-Connect-IP: 217.169.3.179 X-SA-Exim-Mail-From: dg@duncangibb.com X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on snail.duncangibb.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00, MISSING_SUBJECT,NO_RECEIVED autolearn=no version=3.2.3 Subject: [PATCH] Fix some cut-and-paste noise in dib0090.h X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on snail.duncangibb.com) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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__);