>From 108329666e2bf829915c7de4a693fd83c00581a3 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar <x0hebbar@xxxxxx> Date: Fri, 29 Jan 2010 15:03:02 -0600 Subject: [PATCH] DSPBRIDGE: Remove typedef for PROCFAMILY and Replace it with normal C type This patch removes the typdef used for PROCFAMILY and replaces it with normal C type. --- arch/arm/plat-omap/include/dspbridge/dbdefs.h | 4 +--- arch/arm/plat-omap/include/dspbridge/dispdefs.h | 2 +- drivers/dsp/bridge/rmgr/node.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) 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 */ -- 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