* [PATCH] gpio: davinci: fix missed parent conversion
@ 2016-06-03 15:51 Matwey V. Kornilov
2016-06-05 20:52 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Matwey V. Kornilov @ 2016-06-03 15:51 UTC (permalink / raw)
To: stable
From: Linus Walleij <linus.walleij@linaro.org>
commit 6ddbaed3eff9f60d29805413404251670d2e8f0c upstream.
Please apply
6ddbaed3eff9 ("gpio: davinci: fix missed parent conversion")
to 4.4.x branch in order to avoid the following build failure on 4.4.12:
[ 2420s] ../drivers/gpio/gpio-davinci.c: In function 'davinci_gpio_probe':
[ 2420s] ../drivers/gpio/gpio-davinci.c:257:16: error: 'struct gpio_chip' has no member named 'dev'
[ 2420s] chips[i].chip.dev = dev;
[ 2420s] ^
[ 2420s] ../scripts/Makefile.build:259: recipe for target 'drivers/gpio/gpio-davinci.o' failed
[ 2420s] make[4]: *** [drivers/gpio/gpio-davinci.o] Error 1
[ 2420s] ../scripts/Makefile.build:418: recipe for target 'drivers/gpio' failed
[ 2420s] make[3]: *** [drivers/gpio] Error 2
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] gpio: davinci: fix missed parent conversion
2016-06-03 15:51 [PATCH] gpio: davinci: fix missed parent conversion Matwey V. Kornilov
@ 2016-06-05 20:52 ` Greg KH
2016-06-08 1:01 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2016-06-05 20:52 UTC (permalink / raw)
To: Matwey V. Kornilov; +Cc: stable
On Fri, Jun 03, 2016 at 06:51:53PM +0300, Matwey V. Kornilov wrote:
> From: Linus Walleij <linus.walleij@linaro.org>
>
> commit 6ddbaed3eff9f60d29805413404251670d2e8f0c upstream.
>
> Please apply
>
> 6ddbaed3eff9 ("gpio: davinci: fix missed parent conversion")
>
> to 4.4.x branch in order to avoid the following build failure on 4.4.12:
Now applied, thanks.
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] gpio: davinci: fix missed parent conversion
2016-06-05 20:52 ` Greg KH
@ 2016-06-08 1:01 ` Greg KH
2016-06-08 10:41 ` Matwey V. Kornilov
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2016-06-08 1:01 UTC (permalink / raw)
To: Matwey V. Kornilov; +Cc: stable
On Sun, Jun 05, 2016 at 01:52:04PM -0700, Greg KH wrote:
> On Fri, Jun 03, 2016 at 06:51:53PM +0300, Matwey V. Kornilov wrote:
> > From: Linus Walleij <linus.walleij@linaro.org>
> >
> > commit 6ddbaed3eff9f60d29805413404251670d2e8f0c upstream.
> >
> > Please apply
> >
> > 6ddbaed3eff9 ("gpio: davinci: fix missed parent conversion")
> >
> > to 4.4.x branch in order to avoid the following build failure on 4.4.12:
>
> Now applied, thanks.
No, this broke the build, are you sure you needed this? I suspect
something else is going wrong here...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] gpio: davinci: fix missed parent conversion
2016-06-08 1:01 ` Greg KH
@ 2016-06-08 10:41 ` Matwey V. Kornilov
0 siblings, 0 replies; 5+ messages in thread
From: Matwey V. Kornilov @ 2016-06-08 10:41 UTC (permalink / raw)
To: Greg KH; +Cc: stable
2016-06-08 4:01 GMT+03:00 Greg KH <greg@kroah.com>:
> On Sun, Jun 05, 2016 at 01:52:04PM -0700, Greg KH wrote:
>> On Fri, Jun 03, 2016 at 06:51:53PM +0300, Matwey V. Kornilov wrote:
>> > From: Linus Walleij <linus.walleij@linaro.org>
>> >
>> > commit 6ddbaed3eff9f60d29805413404251670d2e8f0c upstream.
>> >
>> > Please apply
>> >
>> > 6ddbaed3eff9 ("gpio: davinci: fix missed parent conversion")
>> >
>> > to 4.4.x branch in order to avoid the following build failure on 4.4.12:
>>
>> Now applied, thanks.
>
> No, this broke the build, are you sure you needed this? I suspect
> something else is going wrong here...
I've just checked another time, this commit must NOT be in 4.4.x.
I was completely sure that I was working with vanilla kernel branch.
I am sorry, I will be more careful next time.
>
> thanks,
>
> greg k-h
>
--
With best regards,
Matwey V. Kornilov.
Sternberg Astronomical Institute, Lomonosov Moscow State University, Russia
119991, Moscow, Universitetsky pr-k 13, +7 (495) 9392382
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] gpio: davinci: fix missed parent conversion
@ 2015-12-04 13:15 Linus Walleij
0 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2015-12-04 13:15 UTC (permalink / raw)
To: linux-gpio, Alexandre Courbot; +Cc: Linus Walleij
I missed to convert this driver properly to use .parent to
point to the parent device. ARMv7 multiplatform would not
compile.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/gpio/gpio-davinci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index 9fd32f76ffa7..65ebaef935e1 100644
--- a/drivers/gpio/gpio-davinci.c
+++ b/drivers/gpio/gpio-davinci.c
@@ -254,7 +254,7 @@ static int davinci_gpio_probe(struct platform_device *pdev)
#ifdef CONFIG_OF_GPIO
chips[i].chip.of_gpio_n_cells = 2;
chips[i].chip.of_xlate = davinci_gpio_of_xlate;
- chips[i].chip.dev = dev;
+ chips[i].chip.parent = dev;
chips[i].chip.of_node = dev->of_node;
#endif
spin_lock_init(&chips[i].lock);
--
2.4.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-08 10:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03 15:51 [PATCH] gpio: davinci: fix missed parent conversion Matwey V. Kornilov
2016-06-05 20:52 ` Greg KH
2016-06-08 1:01 ` Greg KH
2016-06-08 10:41 ` Matwey V. Kornilov
-- strict thread matches above, loose matches on Subject: below --
2015-12-04 13:15 Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.