From patchwork Sat Feb 6 01:21:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hebbar, Shivananda" X-Patchwork-Id: 77477 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 o161Lchj029928 for ; Sat, 6 Feb 2010 01:22:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933790Ab0BFBWA (ORCPT ); Fri, 5 Feb 2010 20:22:00 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:51450 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933223Ab0BFBV7 convert rfc822-to-8bit (ORCPT ); Fri, 5 Feb 2010 20:21:59 -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 o161LulT005270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 5 Feb 2010 19:21:58 -0600 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o161LuFq001430 for ; Sat, 6 Feb 2010 06:51:56 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Sat, 6 Feb 2010 06:51:55 +0530 From: "Hebbar, Shivananda" To: linux-omap Date: Sat, 6 Feb 2010 06:51:54 +0530 Subject: [Patch 2/8] DSPBRIDGE: typedef cleanup -PROCTYPE Thread-Topic: [Patch 2/8] DSPBRIDGE: typedef cleanup -PROCTYPE Thread-Index: AcqmysSFvTh0TSuKR8CW0bfwfAIJRg== Message-ID: <19F8576C6E063C45BE387C64729E7394044A776233@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:01 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/dspbridge/dbdefs.h b/arch/arm/plat-omap/include/dspbridge/dbdefs.h index 049fcee..37ac1dd 100644 --- a/arch/arm/plat-omap/include/dspbridge/dbdefs.h +++ b/arch/arm/plat-omap/include/dspbridge/dbdefs.h @@ -114,7 +114,6 @@ typedef HANDLE DSP_HSTREAM; /* Handle to a Stream object */ typedef u32 DSP_PROCFAMILY; /* Processor family */ - typedef u32 DSP_PROCTYPE; /* Processor type (w/in family) */ /* Handy Macros */ #define IsValidProcEvent(x) (((x) == 0) || (((x) & (DSP_PROCESSORSTATECHANGE | \ @@ -416,7 +415,7 @@ struct DSP_PROCESSORINFO { u32 cbStruct; DSP_PROCFAMILY uProcessorFamily; - DSP_PROCTYPE uProcessorType; + int uProcessorType; u32 uClockRate; u32 ulInternalMemSize; u32 ulExternalMemSize; diff --git a/arch/arm/plat-omap/include/dspbridge/dispdefs.h b/arch/arm/plat-omap/include/dspbridge/dispdefs.h index 9633bbc..f60b351 100644 --- a/arch/arm/plat-omap/include/dspbridge/dispdefs.h +++ b/arch/arm/plat-omap/include/dspbridge/dispdefs.h @@ -27,7 +27,7 @@ /* Size of buffer for sending data to RMS */ u32 ulChnlBufSize; DSP_PROCFAMILY procFamily; /* eg, 5000 */ - DSP_PROCTYPE procType; /* eg, 5510 */ + 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 336abea..92d51d1 100644 --- a/drivers/dsp/bridge/rmgr/node.c +++ b/drivers/dsp/bridge/rmgr/node.c @@ -153,7 +153,7 @@ struct NODE_MGR { u32 ulChnlOffset; /* Offset of chnl ids rsvd for RMS */ u32 ulChnlBufSize; /* Buffer size for data to RMS */ DSP_PROCFAMILY procFamily; /* eg, 5000 */ - DSP_PROCTYPE procType; /* eg, 5510 */ + int procType; /* eg, 5510 */ u32 uDSPWordSize; /* Size of DSP word on host bytes */ u32 uDSPDataMauSize; /* Size of DSP data MAU */ u32 uDSPMauSize; /* Size of MAU */