diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-02-25 10:45:10 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-30 01:30:07 +0200 |
commit | 5e7bc9c6cee68fdd3583eb689583214a3d56341e (patch) | |
tree | a80f9567eb7442b9365f415f6925e4f5bed87cf4 /drivers/clk/sunxi/clk-sun9i-mmc.c | |
parent | clk: atlas7: Make reset_control_ops const (diff) | |
download | linux-5e7bc9c6cee68fdd3583eb689583214a3d56341e.tar.xz linux-5e7bc9c6cee68fdd3583eb689583214a3d56341e.zip |
clk: sunxi: Make reset_control_ops const
The sunxi_ve_reset_ops, sun9i_mmc_reset_ops, and sunxi_usb_reset_ops
structures are never modified. Make them const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/sunxi/clk-sun9i-mmc.c')
-rw-r--r-- | drivers/clk/sunxi/clk-sun9i-mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-sun9i-mmc.c b/drivers/clk/sunxi/clk-sun9i-mmc.c index a9b176139aca..028dd832a39f 100644 --- a/drivers/clk/sunxi/clk-sun9i-mmc.c +++ b/drivers/clk/sunxi/clk-sun9i-mmc.c @@ -83,7 +83,7 @@ static int sun9i_mmc_reset_deassert(struct reset_controller_dev *rcdev, return 0; } -static struct reset_control_ops sun9i_mmc_reset_ops = { +static const struct reset_control_ops sun9i_mmc_reset_ops = { .assert = sun9i_mmc_reset_assert, .deassert = sun9i_mmc_reset_deassert, }; |