/* MiniDriver related definitions */
/* The following definitions are under &quot;Drivers\\DirectDSP\\Device\\XXX
&quot;
- * Where XXX is the device or board name
- */
+ * Where XXX is the device or board name */

#endif /* DRVDEFS_ */
diff --git a/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
b/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
index 57aab2a..71f6d20 100644
--- a/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
+++ b/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
@@ -25,31 +25,24 @@
* Dynamic Loader
*
* The function of the dynamic loader is to load a &quot;module&quot;
containing
- * instructions
- * for a &quot;target&quot; processor into that processor. In the
process it assigns
- * memory
- * for the module, resolves symbol references made by the module, and
remembers
- * symbols defined by the module.
+ * instructions for a &quot;target&quot; processor into that processor.
In the process
+ * it assigns memory for the module, resolves symbol references made by the
+ * module, and remembers symbols defined by the module.
*
* The dynamic loader is parameterized for a particular system by 4 classes
- * that supply
- * the module and system specific functions it requires
+ * that supply the module and system specific functions it requires
*/
/* The read functions for the module image to be loaded */
struct Dynamic_Loader_Stream;
- /*typedef struct Dynamic_Loader_Stream Dynamic_Loader_Stream;*/

-/*
----------------------------------------------------------------------------
-* TYPE: FLOAT
-*
-* DESCRIPTION: Type to be used for floating point calculation. Note that
-* floating point calculation is very CPU expensive, and you
should
-* only use if you absolutely need this.
-*
-*
-----------------------------------------------------------------------------
-*/
+/* FLOAT
+ *
+ * Type to be used for floating point calculation. Note that floating point
+ * calculation is very CPU expensive, and you should only use if you
+ * absolutely need this. */
#ifndef OMAPBRIDGE_TYPES
typedef float FLOAT;
#endif

-
-/*
----------------------------------------------------------------------------
-* Not sure if this all belongs here.
-*
-----------------------------------------------------------------------------
-*/
+/* Not sure if this all belongs here */

-/*
----------------------------------------------------------------------------
-* TYPE: HW_Endianism_t
-*
-* DESCRIPTION: Enumerated Type used to specify the endianism
-* Do NOT change these values. They are used as bit fields.
-*
-*
-----------------------------------------------------------------------------
-*/
+/* HW_Endianism_t: Enumerated Type used to specify the endianism
+ * Do NOT change these values. They are used as bit fields. */
enum HW_Endianism_t {
HW_LITTLE_ENDIAN,
HW_BIG_ENDIAN

- /* Get number of messages available for MailBox */
- *pNumMsg = MLBMAILBOX_MSGSTATUS___0_15NbOfMsgMBmRead32(baseAddress,
+ /* Get number of messages available for MailBox */
+ *pNumMsg = MLBMAILBOX_MSGSTATUS___0_15NbOfMsgMBmRead32(baseAddress,
(u32)mailBoxId);

-/*
-* DEFINITION: HW_MBOX_MAX_NUM_MESSAGES
-*
-* DESCRIPTION: Maximum number of messages that mailbox can hald at a time.
-*/
-
+/* Maximum number of messages that mailbox can hald at a time. */
#define HW_MBOX_MAX_NUM_MESSAGES 4

/* The row order of the below array needs to match with the clock
enumerations
* 'SERVICES_ClkId' provided in the header file.. any changes in the
- * enumerations needs to be fixed in the array as well
- */
+ * enumerations needs to be fixed in the array as well */
static struct SERVICES_Clk_t SERVICES_Clks[] = {
{NULL, &quot;iva2_ck&quot;},
{NULL, &quot;mailboxes_ick&quot;},
@@ -103,7 +102,6 @@ static struct SERVICES_Clk_t SERVICES_Clks[] = {

/*
* ======== WMD_CHNL_CancelIO ========
- * Purpose:
* Return all I/O requests to the client which have not yet been
* transferred. The channel's I/O completion object is
* signalled, and all the I/O requests are queued as IOC's, with the
@@ -447,7 +445,6 @@ func_cont:

/*
* ======== FindReadyOutput ========
- * Purpose:
* Search for a host output channel which is ready to send. If this is
* called as a result of servicing the DPC, then implement a round
* robin search; otherwise, this was called by a client thread (via
@@ -1198,7 +1176,6 @@ static u32 FindReadyOutput(struct CHNL_MGR *pChnlMgr,

/*
* ======== PackTraceBuffer ========
- * Purpose:
* Removes extra nulls from the trace buffer returned from the DSP.
* Works even on buffers that already are packed (null removed); but has
* one bug in that case -- loses the last character (replaces with '\0').
@@ -257,7 +253,6 @@ static DSP_STATUS PackTraceBuffer(char *lpBuf, u32 nBytes,
u32 ulNumWords)

/* MiniDriver related definitions */
/* The following definitions are under &quot;Drivers\\DirectDSP\\Device\\XXX
&quot;
- * Where XXX is the device or board name
- */
+ * Where XXX is the device or board name */

#endif /* DRVDEFS_ */
diff --git a/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
b/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
index 57aab2a..71f6d20 100644
--- a/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
+++ b/arch/arm/plat-omap/include/dspbridge/dynamic_loader.h
@@ -25,31 +25,24 @@
* Dynamic Loader
*
* The function of the dynamic loader is to load a &quot;module&quot;
containing
- * instructions
- * for a &quot;target&quot; processor into that processor. In the
process it assigns
- * memory
- * for the module, resolves symbol references made by the module, and
remembers
- * symbols defined by the module.
+ * instructions for a &quot;target&quot; processor into that processor.
In the process
+ * it assigns memory for the module, resolves symbol references made by the
+ * module, and remembers symbols defined by the module.
*
* The dynamic loader is parameterized for a particular system by 4 classes
- * that supply
- * the module and system specific functions it requires
+ * that supply the module and system specific functions it requires
*/
/* The read functions for the module image to be loaded */
struct Dynamic_Loader_Stream;
- /*typedef struct Dynamic_Loader_Stream Dynamic_Loader_Stream;*/

-/*
----------------------------------------------------------------------------
-* TYPE: FLOAT
-*
-* DESCRIPTION: Type to be used for floating point calculation. Note that
-* floating point calculation is very CPU expensive, and you
should
-* only use if you absolutely need this.
-*
-*
-----------------------------------------------------------------------------
-*/
+/* FLOAT
+ *
+ * Type to be used for floating point calculation. Note that floating point
+ * calculation is very CPU expensive, and you should only use if you
+ * absolutely need this. */
#ifndef OMAPBRIDGE_TYPES
typedef float FLOAT;
#endif

-
-/*
----------------------------------------------------------------------------
-* Not sure if this all belongs here.
-*
-----------------------------------------------------------------------------
-*/
+/* Not sure if this all belongs here */

-/*
----------------------------------------------------------------------------
-* TYPE: HW_Endianism_t
-*
-* DESCRIPTION: Enumerated Type used to specify the endianism
-* Do NOT change these values. They are used as bit fields.
-*
-*
-----------------------------------------------------------------------------
-*/
+/* HW_Endianism_t: Enumerated Type used to specify the endianism
+ * Do NOT change these values. They are used as bit fields. */
enum HW_Endianism_t {
HW_LITTLE_ENDIAN,
HW_BIG_ENDIAN

- /* Get number of messages available for MailBox */
- *pNumMsg = MLBMAILBOX_MSGSTATUS___0_15NbOfMsgMBmRead32(baseAddress,
+ /* Get number of messages available for MailBox */
+ *pNumMsg = MLBMAILBOX_MSGSTATUS___0_15NbOfMsgMBmRead32(baseAddress,
(u32)mailBoxId);

-/*
-* DEFINITION: HW_MBOX_MAX_NUM_MESSAGES
-*
-* DESCRIPTION: Maximum number of messages that mailbox can hald at a time.
-*/
-
+/* Maximum number of messages that mailbox can hald at a time. */
#define HW_MBOX_MAX_NUM_MESSAGES 4

/* The row order of the below array needs to match with the clock
enumerations
* 'SERVICES_ClkId' provided in the header file.. any changes in the
- * enumerations needs to be fixed in the array as well
- */
+ * enumerations needs to be fixed in the array as well */
static struct SERVICES_Clk_t SERVICES_Clks[] = {
{NULL, &quot;iva2_ck&quot;},
{NULL, &quot;mailboxes_ick&quot;},
@@ -103,7 +102,6 @@ static struct SERVICES_Clk_t SERVICES_Clks[] = {

/*
* ======== WMD_CHNL_CancelIO ========
- * Purpose:
* Return all I/O requests to the client which have not yet been
* transferred. The channel's I/O completion object is
* signalled, and all the I/O requests are queued as IOC's, with the
@@ -447,7 +445,6 @@ func_cont:

/*
* ======== FindReadyOutput ========
- * Purpose:
* Search for a host output channel which is ready to send. If this is
* called as a result of servicing the DPC, then implement a round
* robin search; otherwise, this was called by a client thread (via
@@ -1198,7 +1176,6 @@ static u32 FindReadyOutput(struct CHNL_MGR *pChnlMgr,

/*
* ======== PackTraceBuffer ========
- * Purpose:
* Removes extra nulls from the trace buffer returned from the DSP.
* Works even on buffers that already are packed (null removed); but has
* one bug in that case -- loses the last character (replaces with '\0').
@@ -257,7 +253,6 @@ static DSP_STATUS PackTraceBuffer(char *lpBuf, u32 nBytes,
u32 ulNumWords)