[PATCH 07/07][GIT 3/4+] Renaming CFG_GetC55Procs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Renaming CFG_GetC55Procs function for a more proper name (CFG_GetDSPProcs) and removed redundant initialization statements.

---
Index: omapkernel/drivers/dsp/dspbridge/mpu_driver/inc/cfg.h
===================================================================
--- omapkernel.orig/drivers/dsp/dspbridge/mpu_driver/inc/cfg.h  2008-07-29 23:52:55.000000000 -0500
+++ omapkernel/drivers/dsp/dspbridge/mpu_driver/inc/cfg.h       2008-07-29 23:56:40.000000000 -0500
@@ -337,6 +337,6 @@
  */
        extern DSP_STATUS CFG_SetObject(IN u32 dwValue, IN u32 dwType);

-       extern DSP_STATUS CFG_GetC55Procs(OUT u32 *numProcs);
+       extern DSP_STATUS CFG_GetDSPProcs(OUT u32 *numProcs);

 #endif                         /* CFG_ */
Index: omapkernel/drivers/dsp/dspbridge/mpu_driver/src/rmgr/dspdrv.c
===================================================================
--- omapkernel.orig/drivers/dsp/dspbridge/mpu_driver/src/rmgr/dspdrv.c  2008-07-29 23:56:26.000000000 -0500
+++ omapkernel/drivers/dsp/dspbridge/mpu_driver/src/rmgr/dspdrv.c       2008-07-29 23:56:40.000000000 -0500
@@ -156,7 +156,7 @@
                goto func_cont;
        }               /* End DRV_Create */
        GT_0trace(curTrace, GT_5CLASS, "DSP_Init:DRV Created \r\n");
-       status = CFG_GetC55Procs(&numProcs);
+       status = CFG_GetDSPProcs(&numProcs);
        GT_1trace(curTrace, GT_5CLASS, "DSP_Init:C55 procs configured = %d\n",
                  numProcs);
        if (DSP_SUCCEEDED(status) & numProcs) {
Index: omapkernel/drivers/dsp/dspbridge/mpu_driver/src/services/cfg.c
===================================================================
--- omapkernel.orig/drivers/dsp/dspbridge/mpu_driver/src/services/cfg.c 2008-07-29 23:52:26.000000000 -0500
+++ omapkernel/drivers/dsp/dspbridge/mpu_driver/src/services/cfg.c      2008-07-29 23:56:40.000000000 -0500
@@ -485,16 +485,15 @@
 }

 /*
- * ===========CFG_GetC55Procs ============
+ * ===========CFG_GetDSPProcs ============
  * Purpose:
  * Get the number of configured C55 processors
  */

-DSP_STATUS CFG_GetC55Procs(OUT u32 *numProcs)
+DSP_STATUS CFG_GetDSPProcs(OUT u32 *numProcs)
 {
        DSP_STATUS status = DSP_SOK;

-       *numProcs = 0;
        *numProcs = 1;
        return status;
 }
---

Regards,

omar
--
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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux