diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-02-05 13:54:04 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-11 10:37:49 +0100 |
commit | c4448d0d3429a53e08e375323988699f6315a789 (patch) | |
tree | a5ed82ccaf80a636fcf8fe4cc565f5fee7c284c5 /include/linux/reset-controller.h | |
parent | 9991d055500e3bf03cfce5b3ccbfe45cefcbdf40 (diff) | |
download | barebox-c4448d0d3429a53e08e375323988699f6315a789.tar.gz barebox-c4448d0d3429a53e08e375323988699f6315a789.tar.xz |
reset: Constify "ops" in struct reset_controller_dev
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/reset-controller.h')
-rw-r--r-- | include/linux/reset-controller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h index d8265486a0..aff03a9c62 100644 --- a/include/linux/reset-controller.h +++ b/include/linux/reset-controller.h @@ -35,7 +35,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 list_head list; struct device_node *of_node; int of_reset_n_cells; |