mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
reset: berlin: Make reset_control_ops const
The berlin_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
This commit is contained in:
parent
27ca5aaa36
commit
b7a9007565
@ -46,7 +46,7 @@ static int berlin_reset_reset(struct reset_controller_dev *rcdev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct reset_control_ops berlin_reset_ops = {
|
||||
static const struct reset_control_ops berlin_reset_ops = {
|
||||
.reset = berlin_reset_reset,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user