[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACxGe6uvdn4seYRD18t=ffZTpVAH+KcAnGJsc1p6Sm66fEtzCQ@mail.gmail.com>
Date: Fri, 16 Dec 2011 01:25:48 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: Ashish Jangam <Ashish.Jangam@...tcummins.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
"linux-next@...r.kernel.org" <linux-next@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Dajun <dajun.chen@...semi.com>
Subject: Re: linux-next: build failure after merge of the regmap tree
On Fri, Dec 16, 2011 at 1:15 AM, Ashish Jangam
<Ashish.Jangam@...tcummins.com> wrote:
> -----Original Message-----
> From: glikely@...retlab.ca [mailto:glikely@...retlab.ca] On Behalf Of Grant Likely
> Sent: Friday, December 16, 2011 1:41 PM
> To: Ashish Jangam
> Cc: Stephen Rothwell; linux-next@...r.kernel.org; linux-kernel@...r.kernel.org; Mark Brown; Dajun
> Subject: Re: linux-next: build failure after merge of the regmap tree
>
> On Fri, Dec 16, 2011 at 12:19 AM, Ashish Jangam
> <Ashish.Jangam@...tcummins.com> wrote:
>>
>>
>> -----Original Message-----
>> From: glikely@...retlab.ca [mailto:glikely@...retlab.ca] On Behalf Of Grant Likely
>> Sent: Thursday, December 15, 2011 11:55 PM
>> To: Ashish Jangam
>> Cc: Stephen Rothwell; linux-next@...r.kernel.org; linux-kernel@...r.kernel.org; Mark Brown; Dajun
>> Subject: Re: linux-next: build failure after merge of the regmap tree
>>
>> On Thu, Dec 15, 2011 at 2:25 AM, Ashish Jangam
>> <ashish.jangam@...tcummins.com> wrote:
>>> Fixes DA9052 GPIO errors.
>>>
>>> This patch is functionally tested on Samsung SMDKV6410.
>>>
>>> Signed-off-by: David Dajun Chen <dchen@...semi.com>
>>> Signed-off-by: Ashish Jangam <ashish.jangam@...tcummins.com>
>>> ---
>>> drivers/gpio/gpio-da9052.c | 37 ++++--------------------------
>>> include/linux/mfd/da9052/gpio.h | 48 +++++++++++++++++++++++++++++++++++++++
>>
>> gpio-da9052.c is the only users of mfd/da9052/gpio.h. Why is this
>> include file needed? The #defines can simply stay in the .c file.
>> I've picked up the patch, but modified it to keep the header defines
>> in the .c file. If there is a reason this won't work, then please let
>> me know.
>>
>> This header file is shared between GPIO and LED module. I have already
>> posted this LED long back got ACK but did not got merged due to its
>> dependency on MFD module.
>
> Are the LEDs attached to GPIOs? If so, then is there a reason that
> the leds-gpio driver can't be used?
>
> Oh yes we can use leds-gpio driver.
Please do, and keep the gpio internal details in the .c file. Thanks,
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists