[PATCH] gpio: clps711x: localise <mach/gpio.h> header
Alexander Shiyan
shc_work at mail.ru
Tue Oct 16 00:17:17 EDT 2012
On Mon, 15 Oct 2012 21:36:26 +0000
Arnd Bergmann <arnd at arndb.de> wrote:
> On Monday 15 October 2012, Alexander Shiyan wrote:
> > OK, but since it will be used only in board code, I reintroduce it
> > in arch/arm/mach-clps711x/common.h. On my opinion is no reason to
> > overload include/linux/*.
>
> Can't the board files just call the gpio functions?
Yes we can. And we will do so.
Macro is a helper and used only to get the desired GPIO-number.
--
Alexander Shiyan <shc_work at mail.ru>
More information about the linux-arm-kernel
mailing list