mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
MIPS: ralink: Make reset_control_ops const
The reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: John Crispin <john@phrozen.org> Cc: linux-mips@linux-mips.org Cc: kernel@pengutronix.de Patchwork: https://patchwork.linux-mips.org/patch/12618/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
24bc827beb
commit
b11d022767
@ -61,7 +61,7 @@ static int ralink_reset_device(struct reset_controller_dev *rcdev,
|
||||
return ralink_deassert_device(rcdev, id);
|
||||
}
|
||||
|
||||
static struct reset_control_ops reset_ops = {
|
||||
static const struct reset_control_ops reset_ops = {
|
||||
.reset = ralink_reset_device,
|
||||
.assert = ralink_assert_device,
|
||||
.deassert = ralink_deassert_device,
|
||||
|
Loading…
Reference in New Issue
Block a user