On Tue, Sep 6, 2011 at 11:51 AM, Arnaud Patard
wrote:
> [Me]
>> -#ifdef U300_COH901571_3
>> +#if defined(CONFIG_MACH_U300_BS365) || defined(CONFIG_MACH_U300_BS335)
>> {
>> .name = "gpio3",
>> .start = IRQ_U300_GPIO_PORT3,
>> @@ -236,6 +237,7 @@ static struct reso
Linus Walleij writes:
Hi,
> From: Linus Walleij
>
> This rewrites the U300 GPIO so as to use gpiolib and
> struct gpio_chip instead of just generic GPIO, hiding
> all the platform specifics and passing in GPIO chip
> variant as platform data at runtime instead of the
> compiletime kludges.
>
>
On Tue, Sep 6, 2011 at 10:49 AM, Russell King - ARM Linux
wrote:
>> +#include
>> +#include
>> +#include
>> +#include
>>
>> +/* Map these overrides to gpiolib functions, simply */
>> +#define gpio_get_value __gpio_get_value
>> +#define gpio_set_value __gpio_set_value
>> +#define gpio_canslee
On Tue, Sep 06, 2011 at 10:32:30AM +0200, Linus Walleij wrote:
> This is based on top of the pending GPIO cleanups in Russells
> tree, if I can get some ACK on this I presume Russell can
> apply it to his branch.
> diff --git a/arch/arm/mach-u300/include/mach/gpio.h
> b/arch/arm/mach-u300/include
4 matches
Mail list logo