[PATCH 2/9] collie: prepare for gpiolib use

Dmitry Artamonow mad_soft at inbox.ru
Wed Oct 7 07:08:05 EDT 2009

On 23:35 Mon 05 Oct     , Thomas Kunze wrote:
> prefix gpio definitions for direct register access with '_' so we
> can use the other names for gpio_request & co

Familiar problem - numeric vs bit-shifted gpio defines.
I'm facing it here too while converting h3[16]00 to gpiolib,
and I'm thinking about dropping bit-shifted defines completely
and using GPIO_GPIO(SOME_NUMERIC_GPIO) instead.

Perhaps you may find this idea useful for collie.

Best regards,
Dmitry "MAD" Artamonow

More information about the linux-arm-kernel mailing list