Re: [PATCH] mfd: mc13xxx: Move definitions out of structures
From: Lee Jones
Date: Tue Mar 18 2014 - 05:27:49 EST
> > > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx>
> > > ---
> > > include/linux/mfd/mc13xxx.h | 22 ++++++++++++----------
> > > 1 file changed, 12 insertions(+), 10 deletions(-)
> > >
> > > diff --git a/include/linux/mfd/mc13xxx.h b/include/linux/mfd/mc13xxx.h
> > > index a326c85..d63b1d3 100644
> > > --- a/include/linux/mfd/mc13xxx.h
> > > +++ b/include/linux/mfd/mc13xxx.h
> > > @@ -117,10 +117,6 @@ struct mc13xxx_led_platform_data {
> > >
> > > #define MAX_LED_CONTROL_REGS 6
> > >
> > > -struct mc13xxx_leds_platform_data {
> > > - struct mc13xxx_led_platform_data *led;
> > > - int num_leds;
> > > -
> > > /* MC13783 LED Control 0 */
> > > #define MC13783_LED_C0_ENABLE (1 << 0)
> > > #define MC13783_LED_C0_TRIODE_MD (1 << 7)
> > > @@ -169,10 +165,13 @@ struct mc13xxx_leds_platform_data {
> > > /* MC34708 LED Control 0 */
> >
> > I don't see the line above in the MFD tree?
> >
> > Which commit/branch/repo is this patch based on?
>
> Dependency:
> linux-next, a59ce6584d (leds: leds-mc13783: Add MC34708 LED support)
>
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/include/linux/mfd/mc13xxx.h?id=a59ce6584d566847980f9dcad5343cd9856145c8
Ah, you can't do that, as it will cause conflicts and Linus will
likely get upset.
Bryan you naughty boy! Why are you applying patches to files in MFD?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/