diff options
author | Rene Sapiens | 2010-07-10 04:24:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-07-22 19:45:37 +0200 |
commit | c8c1ad8ce317c1e213db47f094d6eee8dec7d280 (patch) | |
tree | 823b8d5384e1d5297af53f568f6a588cecd040a6 /drivers/staging/tidspbridge/rmgr/drv.c | |
parent | staging: ti dspbridge: Rename words with camel case (diff) | |
download | kernel-qcow2-linux-c8c1ad8ce317c1e213db47f094d6eee8dec7d280.tar.gz kernel-qcow2-linux-c8c1ad8ce317c1e213db47f094d6eee8dec7d280.tar.xz kernel-qcow2-linux-c8c1ad8ce317c1e213db47f094d6eee8dec7d280.zip |
staging: ti dspbridge: make variables in prototypes match within functions definitions
This patch renames the variables in the parameter lists and in the function
definitions to make them match.
Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/rmgr/drv.c')
-rw-r--r-- | drivers/staging/tidspbridge/rmgr/drv.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/tidspbridge/rmgr/drv.c b/drivers/staging/tidspbridge/rmgr/drv.c index 03a231705a4e..a6bbb240d860 100644 --- a/drivers/staging/tidspbridge/rmgr/drv.c +++ b/drivers/staging/tidspbridge/rmgr/drv.c @@ -269,11 +269,11 @@ int drv_get_node_res_element(void *hnode, void *node_resource, /* Allocate the STRM resource element * This is called after the actual resource is allocated */ -int drv_proc_insert_strm_res_element(void *stream_handle, - void *hstrm_res, void *process_ctxt) +int drv_proc_insert_strm_res_element(void *stream_obj, + void *strm_res, void *process_ctxt) { struct strm_res_object **pstrm_res = - (struct strm_res_object **)hstrm_res; + (struct strm_res_object **)strm_res; struct process_context *ctxt = (struct process_context *)process_ctxt; int status = 0; struct strm_res_object *temp_strm_res = NULL; @@ -287,7 +287,7 @@ int drv_proc_insert_strm_res_element(void *stream_handle, kfree(*pstrm_res); return -EPERM; } - (*pstrm_res)->hstream = stream_handle; + (*pstrm_res)->hstream = stream_obj; if (ctxt->pstrm_list != NULL) { temp_strm_res = ctxt->pstrm_list; while (temp_strm_res->next != NULL) @@ -305,9 +305,9 @@ int drv_proc_insert_strm_res_element(void *stream_handle, /* Release Stream resource element context * This function called after the actual resource is freed */ -int drv_proc_remove_strm_res_element(void *hstrm_res, void *process_ctxt) +int drv_proc_remove_strm_res_element(void *strm_res, void *process_ctxt) { - struct strm_res_object *pstrm_res = (struct strm_res_object *)hstrm_res; + struct strm_res_object *pstrm_res = (struct strm_res_object *)strm_res; struct process_context *ctxt = (struct process_context *)process_ctxt; struct strm_res_object *temp_strm_res; int status = 0; @@ -375,11 +375,11 @@ int drv_remove_all_strm_res_elements(void *process_ctxt) } /* Getting the stream resource element */ -int drv_get_strm_res_element(void *stream_obj, void *hstrm_res, +int drv_get_strm_res_element(void *stream_obj, void *strm_resources, void *process_ctxt) { struct strm_res_object **strm_res = - (struct strm_res_object **)hstrm_res; + (struct strm_res_object **)strm_resources; struct process_context *ctxt = (struct process_context *)process_ctxt; int status = 0; struct strm_res_object *temp_strm2 = NULL; @@ -405,11 +405,11 @@ int drv_get_strm_res_element(void *stream_obj, void *hstrm_res, } /* Updating the stream resource element */ -int drv_proc_update_strm_res(u32 num_bufs, void *hstrm_res) +int drv_proc_update_strm_res(u32 num_bufs, void *strm_resources) { int status = 0; struct strm_res_object **strm_res = - (struct strm_res_object **)hstrm_res; + (struct strm_res_object **)strm_resources; (*strm_res)->num_bufs = num_bufs; return status; |