* [PATCH 1/2] pinctrl/: at91: fix warmings
@ 2012-10-27 17:53 Jean-Christophe PLAGNIOL-VILLARD
2012-10-27 17:53 ` [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry Jean-Christophe PLAGNIOL-VILLARD
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-10-27 17:53 UTC (permalink / raw)
To: linux-arm-kernel
/opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c: In function 'at91_pinctrl_probe_dt':
/opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c:952:12: warning: assignment discards qualifiers from pointer target type
/opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c: In function 'at91_gpio_probe':
/opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c:1517:17: warning: assignment discards qualifiers from pointer target type
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/pinctrl/pinctrl-at91.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 0679643..6485d7e 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -949,7 +949,7 @@ static int __devinit at91_pinctrl_probe_dt(struct platform_device *pdev,
return -ENODEV;
info->dev = &pdev->dev;
- info->ops =
+ info->ops = (struct at91_pinctrl_mux_ops*)
of_match_device(at91_pinctrl_of_match, &pdev->dev)->data;
at91_pinctrl_child_count(info, np);
@@ -1514,7 +1514,7 @@ static int __devinit at91_gpio_probe(struct platform_device *pdev)
goto err;
}
- at91_chip->ops =
+ at91_chip->ops = (struct at91_pinctrl_mux_ops*)
of_match_device(at91_gpio_of_match, &pdev->dev)->data;
at91_chip->pioc_virq = irq;
at91_chip->pioc_idx = alias_idx;
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry
2012-10-27 17:53 [PATCH 1/2] pinctrl/: at91: fix warmings Jean-Christophe PLAGNIOL-VILLARD
@ 2012-10-27 17:53 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-28 19:09 ` Linus Walleij
2012-10-29 10:04 ` Nicolas Ferre
2012-10-28 19:02 ` [PATCH 1/2] pinctrl/: at91: fix warmings Linus Walleij
2012-10-29 9:57 ` Russell King - ARM Linux
2 siblings, 2 replies; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-10-27 17:53 UTC (permalink / raw)
To: linux-arm-kernel
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
MAINTAINERS | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 027ec2b..cb97031 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5624,6 +5624,12 @@ S: Maintained
F: drivers/pinctrl/
F: include/linux/pinctrl/
+PIN CONTROLLER - ATMEL AT91
+M: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
+L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
+S: Maintained
+F: drivers/pinctrl/pinctrl-at91.c
+
PIN CONTROLLER - ST SPEAR
M: Viresh Kumar <viresh.linux@gmail.com>
L: spear-devel at list.st.com
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 1/2] pinctrl/: at91: fix warmings
2012-10-27 17:53 [PATCH 1/2] pinctrl/: at91: fix warmings Jean-Christophe PLAGNIOL-VILLARD
2012-10-27 17:53 ` [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry Jean-Christophe PLAGNIOL-VILLARD
@ 2012-10-28 19:02 ` Linus Walleij
2012-10-29 9:57 ` Russell King - ARM Linux
2 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2012-10-28 19:02 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Oct 27, 2012 at 7:53 PM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> wrote:
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c: In function 'at91_pinctrl_probe_dt':
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c:952:12: warning: assignment discards qualifiers from pointer target type
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c: In function 'at91_gpio_probe':
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c:1517:17: warning: assignment discards qualifiers from pointer target type
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thanks, patch applied to my at91 branch.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry
2012-10-27 17:53 ` [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry Jean-Christophe PLAGNIOL-VILLARD
@ 2012-10-28 19:09 ` Linus Walleij
2012-10-29 10:04 ` Nicolas Ferre
1 sibling, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2012-10-28 19:09 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Oct 27, 2012 at 7:53 PM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> wrote:
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
I applied this to my at91 pinctrl branch as well, hope that's OK...
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] pinctrl/: at91: fix warmings
2012-10-27 17:53 [PATCH 1/2] pinctrl/: at91: fix warmings Jean-Christophe PLAGNIOL-VILLARD
2012-10-27 17:53 ` [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry Jean-Christophe PLAGNIOL-VILLARD
2012-10-28 19:02 ` [PATCH 1/2] pinctrl/: at91: fix warmings Linus Walleij
@ 2012-10-29 9:57 ` Russell King - ARM Linux
2 siblings, 0 replies; 6+ messages in thread
From: Russell King - ARM Linux @ 2012-10-29 9:57 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Oct 27, 2012 at 07:53:11PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c: In function 'at91_pinctrl_probe_dt':
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c:952:12: warning: assignment discards qualifiers from pointer target type
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c: In function 'at91_gpio_probe':
> /opt/work/linux-2.6/drivers/pinctrl/pinctrl-at91.c:1517:17: warning: assignment discards qualifiers from pointer target type
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
> drivers/pinctrl/pinctrl-at91.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
> index 0679643..6485d7e 100644
> --- a/drivers/pinctrl/pinctrl-at91.c
> +++ b/drivers/pinctrl/pinctrl-at91.c
> @@ -949,7 +949,7 @@ static int __devinit at91_pinctrl_probe_dt(struct platform_device *pdev,
> return -ENODEV;
>
> info->dev = &pdev->dev;
> - info->ops =
> + info->ops = (struct at91_pinctrl_mux_ops*)
> of_match_device(at91_pinctrl_of_match, &pdev->dev)->data;
Fix the type on info->ops instead, it probably wants to be const.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry
2012-10-27 17:53 ` [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry Jean-Christophe PLAGNIOL-VILLARD
2012-10-28 19:09 ` Linus Walleij
@ 2012-10-29 10:04 ` Nicolas Ferre
1 sibling, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2012-10-29 10:04 UTC (permalink / raw)
To: linux-arm-kernel
On 10/27/2012 07:53 PM, Jean-Christophe PLAGNIOL-VILLARD :
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> MAINTAINERS | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 027ec2b..cb97031 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -5624,6 +5624,12 @@ S: Maintained
> F: drivers/pinctrl/
> F: include/linux/pinctrl/
>
> +PIN CONTROLLER - ATMEL AT91
> +M: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
> +L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
> +S: Maintained
> +F: drivers/pinctrl/pinctrl-at91.c
> +
> PIN CONTROLLER - ST SPEAR
> M: Viresh Kumar <viresh.linux@gmail.com>
> L: spear-devel at list.st.com
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-10-29 10:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-27 17:53 [PATCH 1/2] pinctrl/: at91: fix warmings Jean-Christophe PLAGNIOL-VILLARD
2012-10-27 17:53 ` [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry Jean-Christophe PLAGNIOL-VILLARD
2012-10-28 19:09 ` Linus Walleij
2012-10-29 10:04 ` Nicolas Ferre
2012-10-28 19:02 ` [PATCH 1/2] pinctrl/: at91: fix warmings Linus Walleij
2012-10-29 9:57 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).