@@ -121,7 +121,7 @@ struct chnl_mgr {
u32 max_channels; /* Total number of channels */
u32 open_channels; /* Total number of open channels */
struct chnl_object **ap_channel; /* Array of channels */
- u32 dw_type; /* Type of channel class library */
+ u8 dw_type; /* Type of channel class library */
/* If no shm syms, return for CHNL_Open */
dsp_status chnl_open_status;
};
@@ -175,7 +175,7 @@ extern dsp_status cfg_get_host_resources(IN struct cfg_devnode *dev_node_obj,
* DSP_SOK: *pdwValue is set to the retrieved u32(non-Zero).
* else: *pdwValue is set to 0L.
*/
-extern dsp_status cfg_get_object(OUT u32 *pdwValue, u32 dw_type);
+extern dsp_status cfg_get_object(OUT u32 *pdwValue, u8 dw_type);
/*
* ======== cfg_get_perf_value ========
@@ -286,6 +286,6 @@ extern dsp_status cfg_set_dev_object(IN struct cfg_devnode *dev_node_obj,
* Ensures:
* DSP_SOK: The Private u32 was successfully set.
*/
-extern dsp_status cfg_set_object(IN u32 dwValue, IN u32 dw_type);
+extern dsp_status cfg_set_object(IN u32 dwValue, u8 dw_type);
#endif /* CFG_ */
@@ -91,7 +91,7 @@ struct chnl_info {
/* Channel manager info: */
struct chnl_mgrinfo {
- u32 dw_type; /* Type of channel class library. */
+ u8 dw_type; /* Type of channel class library. */
/* Channel handle, given the channel id. */
struct chnl_object *chnl_obj;
u32 open_channels; /* Number of open channels. */
@@ -208,7 +208,7 @@ dsp_status cfg_get_host_resources(struct cfg_devnode *dev_node_obj,
* Purpose:
* Retrieve the Object handle from the Registry
*/
-dsp_status cfg_get_object(OUT u32 *pdwValue, u32 dw_type)
+dsp_status cfg_get_object(OUT u32 *pdwValue, u8 dw_type)
{
dsp_status status = DSP_EINVALIDARG;
u32 dw_buf_size;