aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-at91.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-03-15 00:37:02 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-03-27 17:46:18 -0400
commit1164d73a98797970596023d0c54ea40855aaa1ce (patch)
tree2bf71b94efcb81de033f175bb7fdd0a946d4fa14 /drivers/pinctrl/pinctrl-at91.c
parentc078d78aa96ceafab7379b6a50e92d9d8e2f97b5 (diff)
pinctrl: at91: Remove duplicate const
const declared twice. Fixes the following sparse warning: drivers/pinctrl/pinctrl-at91.c:815:21: warning: duplicate const drivers/pinctrl/pinctrl-at91.c:849:21: warning: duplicate const Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91.c')
-rw-r--r--drivers/pinctrl/pinctrl-at91.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index e50fa5f863e1..353c7bf041f2 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -812,7 +812,7 @@ static int at91_pinctrl_mux_mask(struct at91_pinctrl *info,
812{ 812{
813 int ret = 0; 813 int ret = 0;
814 int size; 814 int size;
815 const const __be32 *list; 815 const __be32 *list;
816 816
817 list = of_get_property(np, "atmel,mux-mask", &size); 817 list = of_get_property(np, "atmel,mux-mask", &size);
818 if (!list) { 818 if (!list) {
@@ -846,7 +846,7 @@ static int at91_pinctrl_parse_groups(struct device_node *np,
846{ 846{
847 struct at91_pmx_pin *pin; 847 struct at91_pmx_pin *pin;
848 int size; 848 int size;
849 const const __be32 *list; 849 const __be32 *list;
850 int i, j; 850 int i, j;
851 851
852 dev_dbg(info->dev, "group(%d): %s\n", index, np->name); 852 dev_dbg(info->dev, "group(%d): %s\n", index, np->name);