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

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

staging: tidspbridge: replace CONST with c standard const



Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 38bf20a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ func_cont:
 */
int bridge_chnl_create(OUT struct chnl_mgr **channel_mgr,
			      struct dev_object *hdev_obj,
			      IN CONST struct chnl_mgrattrs *mgr_attrts)
			      IN const struct chnl_mgrattrs *mgr_attrts)
{
	int status = 0;
	struct chnl_mgr *chnl_mgr_obj = NULL;
@@ -777,7 +777,7 @@ int bridge_chnl_idle(struct chnl_object *chnl_obj, u32 timeout,
 */
int bridge_chnl_open(OUT struct chnl_object **chnl,
			    struct chnl_mgr *hchnl_mgr, s8 chnl_mode,
			    u32 ch_id, CONST IN struct chnl_attr *pattrs)
			    u32 ch_id, const IN struct chnl_attr *pattrs)
{
	int status = 0;
	struct chnl_mgr *chnl_mgr_obj = hchnl_mgr;
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ static int register_shm_segs(struct io_mgr *hio_mgr,
 */
int bridge_io_create(OUT struct io_mgr **io_man,
			    struct dev_object *hdev_obj,
			    IN CONST struct io_attrs *mgr_attrts)
			    IN const struct io_attrs *mgr_attrts)
{
	int status = 0;
	struct io_mgr *pio_mgr = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ func_end:
 *      Put a message onto a msg_ctrl queue.
 */
int bridge_msg_put(struct msg_queue *msg_queue_obj,
			  IN CONST struct dsp_msg *pmsg, u32 utimeout)
			  IN const struct dsp_msg *pmsg, u32 utimeout)
{
	struct msg_frame *msg_frame_obj;
	struct msg_mgr *hmsg_mgr;
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ static void bad_page_dump(u32 pa, struct page *pg)
 *      Bridge Driver entry point.
 */
void bridge_drv_entry(OUT struct bridge_drv_interface **drv_intf,
		   IN CONST char *driver_file_name)
		   IN const char *driver_file_name)
{

	DBC_REQUIRE(driver_file_name != NULL);
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ extern int chnl_close(struct chnl_object *chnl_obj);
 */
extern int chnl_create(OUT struct chnl_mgr **channel_mgr,
			      struct dev_object *hdev_obj,
			      IN CONST struct chnl_mgrattrs *mgr_attrts);
			      IN const struct chnl_mgrattrs *mgr_attrts);

/*
 *  ======== chnl_destroy ========
Loading