2014-07-29 08:20:00

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: manual merge of the gpio tree with the arm-soc tree

Hi Linus,

Today's linux-next merge of the gpio tree got a conflict in
arch/arm/mach-tegra/board-paz00.c between commit a0524acc94c9 ("ARM:
tegra: Sort includes alphabetically") from the arm-soc tree and commit
0a6d315827ee ("gpio: split gpiod board registration into machine
header") from the gpio tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

--
Cheers,
Stephen Rothwell [email protected]

diff --cc arch/arm/mach-tegra/board-paz00.c
index bb4782a32713,91fd858ced0d..000000000000
--- a/arch/arm/mach-tegra/board-paz00.c
+++ b/arch/arm/mach-tegra/board-paz00.c
@@@ -17,10 -17,9 +17,10 @@@
*
*/

- #include <linux/gpio/driver.h>
-#include <linux/platform_device.h>
+ #include <linux/gpio/machine.h>
+#include <linux/platform_device.h>
#include <linux/rfkill-gpio.h>
+
#include "board.h"

static struct rfkill_gpio_platform_data wifi_rfkill_platform_data = {


Attachments:
signature.asc (819.00 B)

2014-07-29 08:26:53

by Thierry Reding

[permalink] [raw]
Subject: Re: linux-next: manual merge of the gpio tree with the arm-soc tree

On Tue, Jul 29, 2014 at 10:19:49AM +0200, Stephen Rothwell wrote:
> * PGP Signed by an unknown key
>
> Hi Linus,
>
> Today's linux-next merge of the gpio tree got a conflict in
> arch/arm/mach-tegra/board-paz00.c between commit a0524acc94c9 ("ARM:
> tegra: Sort includes alphabetically") from the arm-soc tree and commit
> 0a6d315827ee ("gpio: split gpiod board registration into machine
> header") from the gpio tree.
>
> I fixed it up (see below) and can carry the fix as necessary (no action
> is required).
>
> --
> Cheers,
> Stephen Rothwell [email protected]
>
> diff --cc arch/arm/mach-tegra/board-paz00.c
> index bb4782a32713,91fd858ced0d..000000000000
> --- a/arch/arm/mach-tegra/board-paz00.c
> +++ b/arch/arm/mach-tegra/board-paz00.c
> @@@ -17,10 -17,9 +17,10 @@@
> *
> */
>
> - #include <linux/gpio/driver.h>
> -#include <linux/platform_device.h>
> + #include <linux/gpio/machine.h>
> +#include <linux/platform_device.h>
> #include <linux/rfkill-gpio.h>
> +
> #include "board.h"
>
> static struct rfkill_gpio_platform_data wifi_rfkill_platform_data = {

Looks good to me.

Thanks,
Thierry


Attachments:
(No filename) (1.12 kB)
(No filename) (819.00 B)
Download all attachments

2016-10-05 22:41:19

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: manual merge of the gpio tree with the arm-soc tree

Hi all,

On Tue, 27 Sep 2016 15:05:42 +1000 Stephen Rothwell <[email protected]> wrote:
>
> Today's linux-next merge of the gpio tree got a conflict in:
>
> arch/arm/mach-omap2/board-rx51-peripherals.c
>
> between commit:
>
> 9b7141d01a76 ("ARM: OMAP2+: Drop legacy board file for n900")
>
> from the arm-soc tree and commit:
>
> 9132ce450bd1 ("ARM: omap2: fix missing include")
>
> from the gpio tree.
>
> I fixed it up (the former removed the file, so I did that) and can
> carry the fix as necessary. This is now fixed as far as linux-next is
> concerned, but any non trivial conflicts should be mentioned to your
> upstream maintainer when your tree is submitted for merging. You may
> also want to consider cooperating with the maintainer of the conflicting
> tree to minimise any particularly complex conflicts.

Since Linus (Torvalds) has merged the gpio tree, this conflict (and
file removal) now affects the merge of the arm-soc tree).

--
Cheers,
Stephen Rothwell

2016-10-06 06:52:03

by Linus Walleij

[permalink] [raw]
Subject: Re: linux-next: manual merge of the gpio tree with the arm-soc tree

On Thu, Oct 6, 2016 at 12:41 AM, Stephen Rothwell <[email protected]> wrote:
> On Tue, 27 Sep 2016 15:05:42 +1000 Stephen Rothwell <[email protected]> wrote:
>>
>> Today's linux-next merge of the gpio tree got a conflict in:
>>
>> arch/arm/mach-omap2/board-rx51-peripherals.c
>>
>> between commit:
>>
>> 9b7141d01a76 ("ARM: OMAP2+: Drop legacy board file for n900")
>>
>> from the arm-soc tree and commit:
>>
>> 9132ce450bd1 ("ARM: omap2: fix missing include")
>>
>> from the gpio tree.
>>
>> I fixed it up (the former removed the file, so I did that) and can
>> carry the fix as necessary. This is now fixed as far as linux-next is
>> concerned, but any non trivial conflicts should be mentioned to your
>> upstream maintainer when your tree is submitted for merging. You may
>> also want to consider cooperating with the maintainer of the conflicting
>> tree to minimise any particularly complex conflicts.
>
> Since Linus (Torvalds) has merged the gpio tree, this conflict (and
> file removal) now affects the merge of the arm-soc tree).

Yup and I also informed him in my pull request about this conflict
so shouldn't be a problem.

Yours,
Linus Walleij