diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-02-16 04:25:07 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-06 23:27:29 -0500 |
commit | 022ab148d28e8466e45d28552224e3029f1cccd8 (patch) | |
tree | 8af19f47261c907bb944c0403ba78a493f4d4906 /drivers/pinctrl/pinconf.c | |
parent | a72149e82b65b76d2dae5428a6b211eb43933529 (diff) |
pinctrl: Declare operation structures as const
The pinconf, pinctrl and pinmux operation structures hold function
pointers that are never modified. Declare them as const.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf.c')
-rw-r--r-- | drivers/pinctrl/pinconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index ac8d382a79bb..8aefd28c797e 100644 --- a/drivers/pinctrl/pinconf.c +++ b/drivers/pinctrl/pinconf.c | |||
@@ -670,7 +670,7 @@ static int pinconf_dbg_config_print(struct seq_file *s, void *d) | |||
670 | struct pinctrl_maps *maps_node; | 670 | struct pinctrl_maps *maps_node; |
671 | struct pinctrl_map const *map; | 671 | struct pinctrl_map const *map; |
672 | struct pinctrl_dev *pctldev = NULL; | 672 | struct pinctrl_dev *pctldev = NULL; |
673 | struct pinconf_ops *confops = NULL; | 673 | const struct pinconf_ops *confops = NULL; |
674 | int i, j; | 674 | int i, j; |
675 | bool found = false; | 675 | bool found = false; |
676 | 676 | ||