aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/pmgr/cod.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr/cod.c')
-rw-r--r--drivers/staging/tidspbridge/pmgr/cod.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/cod.c b/drivers/staging/tidspbridge/pmgr/cod.c
index bf8c909089f..a5c5a3ab362 100644
--- a/drivers/staging/tidspbridge/pmgr/cod.c
+++ b/drivers/staging/tidspbridge/pmgr/cod.c
@@ -217,7 +217,7 @@ void cod_close(struct cod_libraryobj *lib)
217 * 217 *
218 */ 218 */
219int cod_create(OUT struct cod_manager **mgr, char *str_zl_file, 219int cod_create(OUT struct cod_manager **mgr, char *str_zl_file,
220 IN OPTIONAL const struct cod_attrs *attrs) 220 OPTIONAL const struct cod_attrs *attrs)
221{ 221{
222 struct cod_manager *mgr_new; 222 struct cod_manager *mgr_new;
223 struct dbll_attrs zl_attrs; 223 struct dbll_attrs zl_attrs;
@@ -398,7 +398,7 @@ int cod_get_loader(struct cod_manager *cod_mgr_obj,
398 * Retrieve the starting address and length of a section in the COFF file 398 * Retrieve the starting address and length of a section in the COFF file
399 * given the section name. 399 * given the section name.
400 */ 400 */
401int cod_get_section(struct cod_libraryobj *lib, IN char *str_sect, 401int cod_get_section(struct cod_libraryobj *lib, char *str_sect,
402 OUT u32 *addr, OUT u32 *len) 402 OUT u32 *addr, OUT u32 *len)
403{ 403{
404 struct cod_manager *cod_mgr_obj; 404 struct cod_manager *cod_mgr_obj;
@@ -554,7 +554,7 @@ int cod_load_base(struct cod_manager *cod_mgr_obj, u32 num_argc, char *args[],
554 * ======== cod_open ======== 554 * ======== cod_open ========
555 * Open library for reading sections. 555 * Open library for reading sections.
556 */ 556 */
557int cod_open(struct cod_manager *hmgr, IN char *sz_coff_path, 557int cod_open(struct cod_manager *hmgr, char *sz_coff_path,
558 u32 flags, struct cod_libraryobj **lib_obj) 558 u32 flags, struct cod_libraryobj **lib_obj)
559{ 559{
560 int status = 0; 560 int status = 0;
@@ -591,7 +591,7 @@ int cod_open(struct cod_manager *hmgr, IN char *sz_coff_path,
591 * Purpose: 591 * Purpose:
592 * Open base image for reading sections. 592 * Open base image for reading sections.
593 */ 593 */
594int cod_open_base(struct cod_manager *hmgr, IN char *sz_coff_path, 594int cod_open_base(struct cod_manager *hmgr, char *sz_coff_path,
595 dbll_flags flags) 595 dbll_flags flags)
596{ 596{
597 int status = 0; 597 int status = 0;
@@ -629,8 +629,8 @@ int cod_open_base(struct cod_manager *hmgr, IN char *sz_coff_path,
629 * Purpose: 629 * Purpose:
630 * Retrieve the content of a code section given the section name. 630 * Retrieve the content of a code section given the section name.
631 */ 631 */
632int cod_read_section(struct cod_libraryobj *lib, IN char *str_sect, 632int cod_read_section(struct cod_libraryobj *lib, char *str_sect,
633 OUT char *str_content, IN u32 content_size) 633 OUT char *str_content, u32 content_size)
634{ 634{
635 int status = 0; 635 int status = 0;
636 636