>From 40939eb42f476a0ef7b4f67ebcb412b562daed81 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar <x0hebbar@xxxxxx> Date: Thu, 28 Jan 2010 19:14:21 -0600 Subject: [PATCH] DSPBRIDGE: typedef cleanup -PROCTYPE This patch removes the typedef used for PROCTYPE and replace it with the normal C type. Signed-off-by: Shivananda Hebbar <x0hebbar@xxxxxx> --- arch/arm/plat-omap/include/dspbridge/dbdefs.h | 3 +-- arch/arm/plat-omap/include/dspbridge/dispdefs.h | 2 +- drivers/dsp/bridge/rmgr/node.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) 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 */ -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html