Skip to content

Commit

Permalink
reset: hi6220: Make reset_control_ops const
Browse files Browse the repository at this point in the history
The hi6220_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <[email protected]>
  • Loading branch information
pH5 committed Feb 10, 2016
1 parent d2f79f2 commit 0e18e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/reset/hisilicon/hi6220_reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static int hi6220_reset_deassert(struct reset_controller_dev *rc_dev,
return 0;
}

static struct reset_control_ops hi6220_reset_ops = {
static const struct reset_control_ops hi6220_reset_ops = {
.assert = hi6220_reset_assert,
.deassert = hi6220_reset_deassert,
};
Expand Down

0 comments on commit 0e18e60

Please sign in to comment.