[PATCH] gpio: ep93xx: move driver to drivers/gpio

Grant Likely grant.likely at secretlab.ca
Wed Jun 1 12:46:00 EDT 2011


On Wed, Jun 1, 2011 at 2:26 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Tue, May 31, 2011 at 05:28:26PM -0600, Grant Likely wrote:
>> > [...]Should I change this to:
>> >
>> > +config GPIO_EP93XX
>> > +       bool
>> > +       depends on ARCH_EP93XX
>> > +       default y
>> >
>> > Or like the Samsung drivers, without the visibility:
>> >
>> > +config GPIO_EP93XX
>> > +       bool
>> > +       depends on ARM
>> > +       default y if ARCH_EP93XX
>>
>> I like the former.
>
> Even better is:
>
> config GPIO_EP93XX
>        def_bool y
>        depends on ARCH_EP93XX

Yup.

g.


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the linux-arm-kernel mailing list