2014-01-09 05:50:00

by Stephen Rothwell

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

Hi Linus,

Today's linux-next merge of the gpio tree got a conflict in
drivers/leds/leds-s3c24xx.c between commit cfc7937fb6bd ("leds: s3c24xx:
Remove hardware.h inclusion") from the leds tree and commit 224feb33a645
("leds: s3c24xx: Fix build failure") 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 drivers/leds/leds-s3c24xx.c
index b7876eb09e8c,87cf215af798..000000000000
--- a/drivers/leds/leds-s3c24xx.c
+++ b/drivers/leds/leds-s3c24xx.c
@@@ -18,9 -18,11 +18,10 @@@
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/module.h>
+#include <linux/platform_data/leds-s3c24xx.h>

-#include <mach/hardware.h>
#include <mach/regs-gpio.h>
+ #include <plat/gpio-cfg.h>
-#include <linux/platform_data/leds-s3c24xx.h>

/* our context */


Attachments:
(No filename) (905.00 B)
(No filename) (836.00 B)
Download all attachments

2014-01-09 05:52:34

by Sachin Kamat

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

On 9 January 2014 11:19, Stephen Rothwell <[email protected]> wrote:
> Hi Linus,
>
> Today's linux-next merge of the gpio tree got a conflict in
> drivers/leds/leds-s3c24xx.c between commit cfc7937fb6bd ("leds: s3c24xx:
> Remove hardware.h inclusion") from the leds tree and commit 224feb33a645
> ("leds: s3c24xx: Fix build failure") 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 drivers/leds/leds-s3c24xx.c
> index b7876eb09e8c,87cf215af798..000000000000
> --- a/drivers/leds/leds-s3c24xx.c
> +++ b/drivers/leds/leds-s3c24xx.c
> @@@ -18,9 -18,11 +18,10 @@@
> #include <linux/gpio.h>
> #include <linux/slab.h>
> #include <linux/module.h>
> +#include <linux/platform_data/leds-s3c24xx.h>
>
> -#include <mach/hardware.h>
> #include <mach/regs-gpio.h>
> + #include <plat/gpio-cfg.h>
> -#include <linux/platform_data/leds-s3c24xx.h>
>
> /* our context */
>

Looks good. Thanks Stephen.

--
With warm regards,
Sachin