mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
reset: ath79: Make reset_control_ops const
The ath79_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <[email protected]> Acked-by: Alban Bedel <[email protected]>
This commit is contained in:
parent
1a55cad19f
commit
d2f79f223f
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ static int ath79_reset_status(struct reset_controller_dev *rcdev,
|
|||
return !!(val & BIT(id));
|
||||
}
|
||||
|
||||
static struct reset_control_ops ath79_reset_ops = {
|
||||
static const struct reset_control_ops ath79_reset_ops = {
|
||||
.assert = ath79_reset_assert,
|
||||
.deassert = ath79_reset_deassert,
|
||||
.status = ath79_reset_status,
|
||||
|
|
|
|||
Loading…
Reference in a new issue