From patchwork Wed Feb 3 00:43: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: 76554 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 o130hwHu007114 for ; Wed, 3 Feb 2010 00:44:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756049Ab0BCAoC (ORCPT ); Tue, 2 Feb 2010 19:44:02 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:38339 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755926Ab0BCAoA convert rfc822-to-8bit (ORCPT ); Tue, 2 Feb 2010 19:44:00 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o130hve2003747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Feb 2010 18:43:59 -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 o130huhJ009227 for ; Wed, 3 Feb 2010 06:13:56 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Wed, 3 Feb 2010 06:13:56 +0530 From: "Hebbar, Shivananda" To: linux-omap Date: Wed, 3 Feb 2010 06:13:54 +0530 Subject: [Patch 3/8] DSPBRIDGE: typedef cleanup -PROCFAMILY Thread-Topic: [Patch 3/8] DSPBRIDGE: typedef cleanup -PROCFAMILY Thread-Index: AcqkafaRGT/gfLabTnWhDbwAZGX1lQ== Message-ID: <19F8576C6E063C45BE387C64729E7394044A6B9673@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]); Wed, 03 Feb 2010 00:44:04 +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; + long uProcessorFamily; long 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 */ + long procFamily; /* eg, 5000 */ long 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 */ + long procFamily; /* eg, 5000 */ long procType; /* eg, 5510 */ u32 uDSPWordSize; /* Size of DSP word on host bytes */ u32 uDSPDataMauSize; /* Size of DSP data MAU */