From patchwork Sat Feb 6 01:22:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hebbar, Shivananda" X-Patchwork-Id: 77478 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o161MRB9032485 for ; Sat, 6 Feb 2010 01:22:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933800Ab0BFBW1 (ORCPT ); Fri, 5 Feb 2010 20:22:27 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:51482 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933223Ab0BFBW0 convert rfc822-to-8bit (ORCPT ); Fri, 5 Feb 2010 20:22:26 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o161MN1J005527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 5 Feb 2010 19:22:25 -0600 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o161MM61001472 for ; Sat, 6 Feb 2010 06:52:22 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Sat, 6 Feb 2010 06:52:22 +0530 From: "Hebbar, Shivananda" To: linux-omap Date: Sat, 6 Feb 2010 06:52:21 +0530 Subject: [Patch 3/8] DSPBRIDGE: typedef cleanup -PROCFAMILY Thread-Topic: [Patch 3/8] DSPBRIDGE: typedef cleanup -PROCFAMILY Thread-Index: AcqmytSd1XOYX10SRO+afZ+ZO3gPDQ== Message-ID: <19F8576C6E063C45BE387C64729E7394044A776234@dbde02.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 06 Feb 2010 01:22:27 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/dspbridge/dbdefs.h b/arch/arm/plat-omap/include/dspbridge/dbdefs.h index 37ac1dd..36cd569 100644 --- a/arch/arm/plat-omap/include/dspbridge/dbdefs.h +++ b/arch/arm/plat-omap/include/dspbridge/dbdefs.h @@ -113,8 +113,6 @@ typedef HANDLE DSP_HPROCESSOR; /* Handle to a Processor object */ typedef HANDLE DSP_HSTREAM; /* Handle to a Stream object */ - typedef u32 DSP_PROCFAMILY; /* Processor family */ - /* Handy Macros */ #define IsValidProcEvent(x) (((x) == 0) || (((x) & (DSP_PROCESSORSTATECHANGE | \ DSP_PROCESSORATTACH | \ @@ -414,7 +412,7 @@ */ struct DSP_PROCESSORINFO { u32 cbStruct; - DSP_PROCFAMILY uProcessorFamily; + int uProcessorFamily; int uProcessorType; u32 uClockRate; u32 ulInternalMemSize; diff --git a/arch/arm/plat-omap/include/dspbridge/dispdefs.h b/arch/arm/plat-omap/include/dspbridge/dispdefs.h index f60b351..a9a2961 100644 --- a/arch/arm/plat-omap/include/dspbridge/dispdefs.h +++ b/arch/arm/plat-omap/include/dspbridge/dispdefs.h @@ -26,7 +26,7 @@ u32 ulChnlOffset; /* Offset of channel ids reserved for RMS */ /* Size of buffer for sending data to RMS */ u32 ulChnlBufSize; - DSP_PROCFAMILY procFamily; /* eg, 5000 */ + int procFamily; /* eg, 5000 */ int procType; /* eg, 5510 */ HANDLE hReserved1; /* Reserved for future use. */ u32 hReserved2; /* Reserved for future use. */ diff --git a/drivers/dsp/bridge/rmgr/node.c b/drivers/dsp/bridge/rmgr/node.c index 92d51d1..4bc0435 100644 --- a/drivers/dsp/bridge/rmgr/node.c +++ b/drivers/dsp/bridge/rmgr/node.c @@ -152,7 +152,7 @@ struct NODE_MGR { u32 ulNumChnls; /* Total number of channels */ u32 ulChnlOffset; /* Offset of chnl ids rsvd for RMS */ u32 ulChnlBufSize; /* Buffer size for data to RMS */ - DSP_PROCFAMILY procFamily; /* eg, 5000 */ + int procFamily; /* eg, 5000 */ int procType; /* eg, 5510 */ u32 uDSPWordSize; /* Size of DSP word on host bytes */ u32 uDSPDataMauSize; /* Size of DSP data MAU */