Commit 203d4f34 authored by Maxime Ripard's avatar Maxime Ripard Committed by Philipp Zabel

reset: Make reset_control_ops const

The ops pointer is holding a pointer to a structure that is usually not
modified. Make it const.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent d056c9b8
......@@ -38,7 +38,7 @@ struct of_phandle_args;
* @nr_resets: number of reset controls in this reset controller device
*/
struct reset_controller_dev {
struct reset_control_ops *ops;
const struct reset_control_ops *ops;
struct module *owner;
struct list_head list;
struct device_node *of_node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment