Skip to content

Commit

Permalink
reset: zx2967: constify zx2967_reset_ops.
Browse files Browse the repository at this point in the history
File size before:
   text	   data	    bss	    dec	    hex	filename
    794	    232	      0	   1026	    402	drivers/reset/reset-zx2967.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
    842	    184	      0	   1026	    402	drivers/reset/reset-zx2967.o

Signed-off-by: Arvind Yadav <[email protected]>
Reviewed-by: Baoyou Xie <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
  • Loading branch information
ArvindYadavCs authored and pH5 committed Jul 19, 2017
1 parent 5771a8c commit 01da10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/reset/reset-zx2967.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static int zx2967_reset_deassert(struct reset_controller_dev *rcdev,
return zx2967_reset_act(rcdev, id, false);
}

static struct reset_control_ops zx2967_reset_ops = {
static const struct reset_control_ops zx2967_reset_ops = {
.assert = zx2967_reset_assert,
.deassert = zx2967_reset_deassert,
};
Expand Down

0 comments on commit 01da10e

Please sign in to comment.