Skip to content

Commit

Permalink
pinctrl: at91: Remove duplicate const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Linus Walleij committed Mar 27, 2013
1 parent c078d78 commit 1164d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pinctrl/pinctrl-at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ static int at91_pinctrl_mux_mask(struct at91_pinctrl *info,
{
int ret = 0;
int size;
const const __be32 *list;
const __be32 *list;

list = of_get_property(np, "atmel,mux-mask", &size);
if (!list) {
Expand Down Expand Up @@ -846,7 +846,7 @@ static int at91_pinctrl_parse_groups(struct device_node *np,
{
struct at91_pmx_pin *pin;
int size;
const const __be32 *list;
const __be32 *list;
int i, j;

dev_dbg(info->dev, "group(%d): %s\n", index, np->name);
Expand Down

0 comments on commit 1164d73

Please sign in to comment.