mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
reset: lpc18xx: Make reset_control_ops const
The lpc18xx_rgu_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <[email protected]> Acked-by: Joachim Eastwood <[email protected]>
This commit is contained in:
parent
01501d5730
commit
1a55cad19f
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ static int lpc18xx_rgu_status(struct reset_controller_dev *rcdev,
|
|||
return !(readl(rc->base + offset) & bit);
|
||||
}
|
||||
|
||||
static struct reset_control_ops lpc18xx_rgu_ops = {
|
||||
static const struct reset_control_ops lpc18xx_rgu_ops = {
|
||||
.reset = lpc18xx_rgu_reset,
|
||||
.assert = lpc18xx_rgu_assert,
|
||||
.deassert = lpc18xx_rgu_deassert,
|
||||
|
|
|
|||
Loading…
Reference in a new issue