From patchwork Wed Feb 3 00:43:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hebbar, Shivananda" X-Patchwork-Id: 76555 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 o130hwHv007114 for ; Wed, 3 Feb 2010 00:44:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756086Ab0BCAoF (ORCPT ); Tue, 2 Feb 2010 19:44:05 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:38349 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756056Ab0BCAoD convert rfc822-to-8bit (ORCPT ); Tue, 2 Feb 2010 19:44:03 -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 o130i0Zf003997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Feb 2010 18:44:02 -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 o130hxIw009233 for ; Wed, 3 Feb 2010 06:13:59 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Wed, 3 Feb 2010 06:13:59 +0530 From: "Hebbar, Shivananda" To: linux-omap Date: Wed, 3 Feb 2010 06:13:57 +0530 Subject: [Patch 4/8] DSPBRIDGE: typedef cleanup -DSP_HSTREAM Thread-Topic: [Patch 4/8] DSPBRIDGE: typedef cleanup -DSP_HSTREAM Thread-Index: AcqkafhdJRXuvTMYRZG43+ieoMDx9w== Message-ID: <19F8576C6E063C45BE387C64729E7394044A6B9674@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:06 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/dspbridge/dbdefs.h b/arch/arm/plat-omap/include/dspbridge/dbdefs.h index 36cd569..c0d4c1d 100644 --- a/arch/arm/plat-omap/include/dspbridge/dbdefs.h +++ b/arch/arm/plat-omap/include/dspbridge/dbdefs.h @@ -111,7 +111,6 @@ typedef HANDLE DSP_HNODE; /* Handle to a DSP Node object */ typedef HANDLE DSP_HPROCESSOR; /* Handle to a Processor object */ - typedef HANDLE DSP_HSTREAM; /* Handle to a Stream object */ /* Handy Macros */ #define IsValidProcEvent(x) (((x) == 0) || (((x) & (DSP_PROCESSORSTATECHANGE | \ diff --git a/arch/arm/plat-omap/include/dspbridge/drv.h b/arch/arm/plat-omap/include/dspbridge/drv.h index e4e91f3..3eb1abd 100644 --- a/arch/arm/plat-omap/include/dspbridge/drv.h +++ b/arch/arm/plat-omap/include/dspbridge/drv.h @@ -116,7 +116,7 @@ struct DSPHEAP_RES_OBJECT { /* New structure (member of process context) abstracts stream resource info */ struct STRM_RES_OBJECT { s32 streamAllocated; /* Stream status */ - DSP_HSTREAM hStream; + void *hStream; u32 uNumBufs; u32 uDir; struct STRM_RES_OBJECT *next; diff --git a/arch/arm/plat-omap/include/dspbridge/wcdioctl.h b/arch/arm/plat-omap/include/dspbridge/wcdioctl.h index 0dcbef7..9d1cdb3 100644 --- a/arch/arm/plat-omap/include/dspbridge/wcdioctl.h +++ b/arch/arm/plat-omap/include/dspbridge/wcdioctl.h @@ -262,40 +262,40 @@ union Trapped_Args { /* STRM module */ struct { - DSP_HSTREAM hStream; + void *hStream; u32 uSize; u8 *__user *apBuffer; u32 uNumBufs; } ARGS_STRM_ALLOCATEBUFFER; struct { - DSP_HSTREAM hStream; + void *hStream; } ARGS_STRM_CLOSE; struct { - DSP_HSTREAM hStream; + void *hStream; u8 *__user *apBuffer; u32 uNumBufs; } ARGS_STRM_FREEBUFFER; struct { - DSP_HSTREAM hStream; + void *hStream; HANDLE *phEvent; } ARGS_STRM_GETEVENTHANDLE; struct { - DSP_HSTREAM hStream; + void *hStream; struct STRM_INFO __user *pStreamInfo; u32 uStreamInfoSize; } ARGS_STRM_GETINFO; struct { - DSP_HSTREAM hStream; + void *hStream; bool bFlush; } ARGS_STRM_IDLE; struct { - DSP_HSTREAM hStream; + void *hStream; u8 *pBuffer; u32 dwBytes; u32 dwBufSize; @@ -307,11 +307,11 @@ union Trapped_Args { u32 uDirection; u32 uIndex; struct STRM_ATTR __user *pAttrIn; - DSP_HSTREAM __user *phStream; + void *__user *phStream; } ARGS_STRM_OPEN; struct { - DSP_HSTREAM hStream; + void *hStream; u8 *__user *pBufPtr; u32 __user *pBytes; u32 __user *pBufSize; @@ -319,14 +319,14 @@ union Trapped_Args { } ARGS_STRM_RECLAIM; struct { - DSP_HSTREAM hStream; + void *hStream; u32 uEventMask; u32 uNotifyType; struct DSP_NOTIFICATION __user *hNotification; } ARGS_STRM_REGISTERNOTIFY; struct { - DSP_HSTREAM __user *aStreamTab; + void *__user *aStreamTab; u32 nStreams; u32 __user *pMask; u32 uTimeout;