Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21aaf42e authored by Menon, Nishanth's avatar Menon, Nishanth Committed by Greg Kroah-Hartman
Browse files

staging: tidspbridge: remove OPTIONAL



OPTIONAL modifier makes no sense in linux kernel

Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9d7d0a52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ static int search_free_channel(struct chnl_mgr *chnl_mgr_obj,
 */
int bridge_chnl_add_io_req(struct chnl_object *chnl_obj, void *host_buf,
			       u32 byte_size, u32 buf_size,
			       OPTIONAL u32 dw_dsp_addr, u32 dw_arg)
			       u32 dw_dsp_addr, u32 dw_arg)
{
	int status = 0;
	struct chnl_object *pchnl = (struct chnl_object *)chnl_obj;
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ extern void cod_close(struct cod_libraryobj *lib);
 */
extern int cod_create(OUT struct cod_manager **mgr,
			     char *str_zl_file,
			     OPTIONAL const struct cod_attrs *attrs);
			     const struct cod_attrs *attrs);

/*
 *  ======== cod_delete ========
+2 −2
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ extern int bridge_chnl_open(OUT struct chnl_object **chnl,
				   struct chnl_mgr *hchnl_mgr,
				   s8 chnl_mode,
				   u32 ch_id,
				   const OPTIONAL struct chnl_attr
				   const struct chnl_attr
				   *pattrs);

extern int bridge_chnl_close(struct chnl_object *chnl_obj);
@@ -43,7 +43,7 @@ extern int bridge_chnl_close(struct chnl_object *chnl_obj);
extern int bridge_chnl_add_io_req(struct chnl_object *chnl_obj,
				      void *host_buf,
				      u32 byte_size, u32 buf_size,
				      OPTIONAL u32 dw_dsp_addr, u32 dw_arg);
				      u32 dw_dsp_addr, u32 dw_arg);

extern int bridge_chnl_get_ioc(struct chnl_object *chnl_obj,
				   u32 timeout, OUT struct chnl_ioc *chan_ioc);
+2 −2
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ typedef int(*fxn_chnl_open) (OUT struct chnl_object
				    struct chnl_mgr *hchnl_mgr,
				    s8 chnl_mode,
				    u32 ch_id,
				    const OPTIONAL struct
				    const struct
				    chnl_attr * pattrs);

/*
@@ -475,7 +475,7 @@ typedef int(*fxn_chnl_addioreq) (struct chnl_object
					void *host_buf,
					u32 byte_size,
					u32 buf_size,
					OPTIONAL u32 dw_dsp_addr, u32 dw_arg);
					u32 dw_dsp_addr, u32 dw_arg);

/*
 *  ======== bridge_chnl_get_ioc ========
+6 −6
Original line number Diff line number Diff line
@@ -57,8 +57,8 @@
 */
extern int node_allocate(struct proc_object *hprocessor,
				const struct dsp_uuid *node_uuid,
				OPTIONAL const struct dsp_cbdata
				*pargs, OPTIONAL const struct dsp_nodeattrin
				const struct dsp_cbdata
				*pargs, const struct dsp_nodeattrin
				*attr_in,
				OUT struct node_object **ph_node,
				struct process_context *pr_ctxt);
@@ -86,7 +86,7 @@ extern int node_allocate(struct proc_object *hprocessor,
 *  Ensures:
 */
extern int node_alloc_msg_buf(struct node_object *hnode,
				     u32 usize, OPTIONAL struct dsp_bufferattr
				     u32 usize, struct dsp_bufferattr
				     *pattr, OUT u8 **pbuffer);

/*
@@ -182,8 +182,8 @@ extern int node_connect(struct node_object *node1,
			       u32 stream1,
			       struct node_object *node2,
			       u32 stream2,
			       OPTIONAL struct dsp_strmattr *pattrs,
			       OPTIONAL struct dsp_cbdata
			       struct dsp_strmattr *pattrs,
			       struct dsp_cbdata
			       *conn_param);

/*
@@ -335,7 +335,7 @@ extern void node_exit(void);
 */
extern int node_free_msg_buf(struct node_object *hnode,
				    u8 *pbuffer,
				    OPTIONAL struct dsp_bufferattr
				    struct dsp_bufferattr
				    *pattr);

/*
Loading