From patchwork Tue May 19 15:10:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 24740 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 n4JFAfp5002481 for ; Tue, 19 May 2009 15:10:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753216AbZESPKg (ORCPT ); Tue, 19 May 2009 11:10:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753244AbZESPKg (ORCPT ); Tue, 19 May 2009 11:10:36 -0400 Received: from web110810.mail.gq1.yahoo.com ([67.195.13.233]:26558 "HELO web110810.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753216AbZESPKf (ORCPT ); Tue, 19 May 2009 11:10:35 -0400 Received: (qmail 94207 invoked by uid 60001); 19 May 2009 15:10:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242745836; bh=IacsWCoEGX0AlFuLPOffyMO7ms8kiDsituAj0EnAeJE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=TIw1+pIA2gMvPRRspzzp1Dkymco4+DRVzeDshFj/IYfDcAwkXzSIfw0QQROKHwkhiv+1Xn2cUdb2fRtyq6L7PzZtYkuCgh4+Qs7SD/p3rQggH+MxmlDfFLwd9WYmGJPkmoSnASm5NawVWsRLoBaTA8f1XyEvVbUTsHGRgXcJIGE= 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=SZRKpQLyiNaEay3FpJ5SHeNTt5gXF3GFa4Wsr57S6ezGxFyd+xGOwb/8QmlbxovoX8SxrgpW6BUd5Iqd5GOngTLzlfTN971JKOrbl2LLJ3svyi2AFyPP0z2rrAjgdFwBGn9eSes7KczQ6OOrS0CGlvOai3KTysJLEj10BOfjhJE=; Message-ID: <969753.76402.qm@web110810.mail.gq1.yahoo.com> X-YMail-OSG: 3HThyJcVM1kbZ6Sj.6L7steapiyTflb2TTdZhQDTbV.Zn.2sJLaioQpyTMRTPasrjvlsC5u2hr4f2Q_1qb694umP.jDnMuiM2vprUvAUxrfuXkq9.hz6M7YbDNUsIAOV0clm_cO3ZtGyZxT1xRsdCOkHSsPnrQNcHjAgPASvetxOFbPRW.ZzMwbDG_h6Y73scbIoYnqxIsOE4wLrTzYl2kz8X4Z_oIBDW6vGCTfEArOmHYj0RLye.Hg.8Yj._qmeKO_STfs6mjGK0yekf3nzU_4VveDerUN3lnph576_DBCwFsouKxHT4qAK4gtu9tjZ2W0c53KYooMTXyH.2n7dSnXeFJjBurtad._UP71e2UZt49H6ebXHMv0gCw-- Received: from [199.203.99.233] by web110810.mail.gq1.yahoo.com via HTTP; Tue, 19 May 2009 08:10:36 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Tue, 19 May 2009 08:10:36 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [09051_44] Siano: smscore - fix some new GPIO definitions names 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 1242746121 -10800 # Node ID 2b865fa7f195524bc9e8557dac472140755058dd # Parent 749c11a362a9fad1992809007247d5c76c35bfc9 [09051_44] Siano: smscore - fix some new GPIO definitions names From: Uri Shkolnik Fix some definitions' names, in order to emphasize the names --- 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 differences between the old and new GPIO implementations. Priority: normal Signed-off-by: Uri Shkolnik diff -r 749c11a362a9 -r 2b865fa7f195 linux/drivers/media/dvb/siano/smscoreapi.h --- a/linux/drivers/media/dvb/siano/smscoreapi.h Tue May 19 17:49:30 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smscoreapi.h Tue May 19 18:15:21 2009 +0300 @@ -581,10 +581,10 @@ struct smscore_gpio_config { #define SMS_GPIO_DIRECTION_OUTPUT 1 u8 Direction; -#define SMS_GPIO_PULLUPDOWN_NONE 0 -#define SMS_GPIO_PULLUPDOWN_PULLDOWN 1 -#define SMS_GPIO_PULLUPDOWN_PULLUP 2 -#define SMS_GPIO_PULLUPDOWN_KEEPER 3 +#define SMS_GPIO_PULL_UP_DOWN_NONE 0 +#define SMS_GPIO_PULL_UP_DOWN_PULLDOWN 1 +#define SMS_GPIO_PULL_UP_DOWN_PULLUP 2 +#define SMS_GPIO_PULL_UP_DOWN_KEEPER 3 u8 PullUpDown; #define SMS_GPIO_INPUT_CHARACTERISTICS_NORMAL 0 @@ -608,13 +608,12 @@ struct smscore_gpio_config { #define SMS_GPIO_OUTPUT_DRIVING_1_5mA 0 /* 11xx */ #define SMS_GPIO_OUTPUT_DRIVING_2_8mA 1 /* 11xx */ -#define SMS_GPIO_OUTPUT_DRIVING_4mA 2 /* 11xx */ -#define SMS_GPIO_OUTPUT_DRIVING_7mA 3 /* 11xx */ -#define SMS_GPIO_OUTPUT_DRIVING_10mA 4 /* 11xx */ -#define SMS_GPIO_OUTPUT_DRIVING_11mA 5 /* 11xx */ -#define SMS_GPIO_OUTPUT_DRIVING_14mA 6 /* 11xx */ -#undef SMS_GPIO_OUTPUT_DRIVING_16mA -#define SMS_GPIO_OUTPUT_DRIVING_16mA 7 /* 11xx */ +#define SMS_GPIO_OUTPUT_DRIVING_4mA 2 /* 11xx */ +#define SMS_GPIO_OUTPUT_DRIVING_7mA 3 /* 11xx */ +#define SMS_GPIO_OUTPUT_DRIVING_10mA 4 /* 11xx */ +#define SMS_GPIO_OUTPUT_DRIVING_11mA 5 /* 11xx */ +#define SMS_GPIO_OUTPUT_DRIVING_14mA 6 /* 11xx */ +#define SMS_GPIO_OUTPUT_DRIVING_16mA 7 /* 11xx */ u8 OutputDriving; };