diff mbox

DSPBRIDGE: Change num_proc type to u8.

Message ID 830E2177532E7946BE0E82F0F4288505044E450B9B@dbde02.ent.ti.com (mailing list archive)
State Accepted
Delegated to:
Headers show

Commit Message

Hebbar, Shivananda April 3, 2010, 1 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index 88dd3db..cd9db42 100644
--- a/drivers/dsp/bridge/pmgr/wcd.c
+++ b/drivers/dsp/bridge/pmgr/wcd.c
@@ -447,7 +447,7 @@  u32 mgrwrap_enum_node_info(union Trapped_Args *args, void *pr_ctxt)
 u32 mgrwrap_enum_proc_info(union Trapped_Args *args, void *pr_ctxt)
 {
  u8 *processor_info;
- u32 num_procs;
+ u8 num_procs;
  dsp_status status = DSP_SOK;
  u32 size = args->args_mgr_enumproc_info.processor_info_size;
 
diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c
index 867402f..91d67d1 100644
--- a/drivers/dsp/bridge/wmd/io_sm.c
+++ b/drivers/dsp/bridge/wmd/io_sm.c
@@ -320,7 +320,7 @@  dsp_status bridge_io_on_loaded(struct io_mgr *hio_mgr)
  u32 ul_pad_size = 0;
  u32 i;
  dsp_status status = DSP_SOK;
- u32 num_procs = 0;
+ u8 num_procs = 0;
  s32 ndx = 0;
  /* DSP MMU setup table */
  struct wmdioctl_extproc ae_proc[WMDIOCTL_NUMOFMMUTLB];