From patchwork Sun Apr 5 10:31:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 16414 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 n35AVfN5025226 for ; Sun, 5 Apr 2009 10:31:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757835AbZDEKbf (ORCPT ); Sun, 5 Apr 2009 06:31:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758007AbZDEKbf (ORCPT ); Sun, 5 Apr 2009 06:31:35 -0400 Received: from web110808.mail.gq1.yahoo.com ([67.195.13.231]:27108 "HELO web110808.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757835AbZDEKbe (ORCPT ); Sun, 5 Apr 2009 06:31:34 -0400 Received: (qmail 95274 invoked by uid 60001); 5 Apr 2009 10:31:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238927492; bh=5hep2nJdt02ZpVC5LnxuDLlc19OA3O0Cq27oZgWytpU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=x5comb/+zwWsQsZ8n/yKn19Hboop9rdMat/nu7u8z9eTk32XANxx8K+d39cxoDqz3G4VL0v00VuUbgehjedEiNe4utKPKU1kiPmQIb6NBCLIuf+XoSJ9C6gtF9bQkv5NvfmdohOC4A+tA0wkVpiHWKyHkJbawexpOv8Ayvub5Dg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=LtlzLXGejNpDKiHnLypAaQkP34IuZ7dd84UVTBFTh/D6sPrnUuS4/gPS1T5uQsg+07ys4B4Lt2dnJ2L6YJ81ll5G+e6Ut9CAsr5Y60KlL8/bDwQ0td8mYRryggZd/o+Eye9lgFoU1UneCwuChUaiRz0A+iKcWKwBgZdobtDtxu8=; Message-ID: <943396.95266.qm@web110808.mail.gq1.yahoo.com> X-YMail-OSG: REdeR9AVM1k0fSHq18mhUmxGkNaERwFS8VC1gcJv9US3kbGVEug6QKyosdSYi22VOczndHSgDVQiQjOcTZkStbCFLqcZgrGBn7xZWDLNb0g1Dh_SWtOevHES7NfWPWyox_SczVxHMYfs_6mvGh3Ga3R0Oqegj2qwY7_MVwaYOPl4AYcZuM79PWzdGFdYBA5nti3MhQ0NvW82dzWbLbADMrHJwarX18_ffa4YNewGaWBtTQQrRCVA_.YTpiENpNX1ExEMVnsQiQdCMfxUUamjKc6vUkS62.us4VIuCWTsu2pi_dAG_EOaGmjapevYg.tjcRh9ZQpJVUIXUb74WzjZn6mhI289UgqOox5KE4AR Received: from [199.203.99.233] by web110808.mail.gq1.yahoo.com via HTTP; Sun, 05 Apr 2009 03:31:32 PDT X-Mailer: YahooMailClassic/5.2.15 YahooMailWebService/0.7.289.1 Date: Sun, 5 Apr 2009 03:31:32 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [0904_13] Siano: move DVB_API and remove redundant code To: LinuxML MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org # HG changeset patch # User Uri Shkolnik # Date 1238755204 -10800 # Node ID f65a29f0f9a66f82a91525ae0085a15f00ac91c2 # Parent 897669fdeb3be75a2bde978557b5398a4a7d8914 [PATCH] [0904_13] Siano: move DVB_API and remove redundant code From: Uri Shkolnik The DVB-API related information has been moved from the core header to the smsdvb, and the redundant code has been removed from the core header. This code has been moved since it is used only by the smsdvb client component. Priority: normal Signed-off-by: Uri Shkolnik --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r 897669fdeb3b -r f65a29f0f9a6 linux/drivers/media/dvb/siano/smscoreapi.h --- a/linux/drivers/media/dvb/siano/smscoreapi.h Fri Apr 03 13:31:13 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smscoreapi.h Fri Apr 03 13:40:04 2009 +0300 @@ -36,15 +36,6 @@ along with this program. If not, see /* #include "smsir.h" */ - -#define SMS_DVB3_SUBSYS -#ifdef SMS_DVB3_SUBSYS -#include "dmxdev.h" -#include "dvbdev.h" -#include "dvb_demux.h" -#include "dvb_frontend.h" - -#endif #define kmutex_init(_p_) mutex_init(_p_) #define kmutex_lock(_p_) mutex_lock(_p_) diff -r 897669fdeb3b -r f65a29f0f9a6 linux/drivers/media/dvb/siano/smsdvb.c --- a/linux/drivers/media/dvb/siano/smsdvb.c Fri Apr 03 13:31:13 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smsdvb.c Fri Apr 03 13:40:04 2009 +0300 @@ -22,6 +22,11 @@ along with this program. If not, see #include #include + +#include "dmxdev.h" +#include "dvbdev.h" +#include "dvb_demux.h" +#include "dvb_frontend.h" #include "smscoreapi.h" /*#include "smsendian.h"*/ @@ -52,7 +57,7 @@ struct smsdvb_client_t { fe_status_t fe_status; int fe_ber, fe_snr, fe_unc, fe_signal_strength; - struct completion tune_done, stat_done; + struct completion tune_done; /* todo: save freq/band instead whole struct */ struct dvb_frontend_parameters fe_params;