reset: sti: Make reset_control_ops const
authorPhilipp Zabel <p.zabel@pengutronix.de>
Sun, 17 Jan 2016 14:15:13 +0000 (15:15 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 10 Feb 2016 09:53:38 +0000 (10:53 +0100)
The syscfg_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/sti/reset-syscfg.c

index 1600cc7557f5c193ee3ea694f0e8492464558019..9bd57a5eee7288cf126192f83d2e23870ab5bce5 100644 (file)
@@ -134,7 +134,7 @@ static int syscfg_reset_status(struct reset_controller_dev *rcdev,
        return rst->active_low ? !ret_val : !!ret_val;
 }
 
-static struct reset_control_ops syscfg_reset_ops = {
+static const struct reset_control_ops syscfg_reset_ops = {
        .reset    = syscfg_reset_dev,
        .assert   = syscfg_reset_assert,
        .deassert = syscfg_reset_deassert,
This page took 0.025857 seconds and 5 git commands to generate.