]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] AT91 GPIO wrappers
authorDavid Brownell <david-b@pacbell.net>
Mon, 12 Feb 2007 08:53:13 +0000 (00:53 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:34 +0000 (09:48 -0800)
commitc72949aab65d986aa2de3fc5cbcbde97a52c7db7
treedc459f1ddba26772c9faa26ac8cdef0c41afd300
parent18ecdd3d765e66ccae947f26f5e5a842aa96ae8a
[PATCH] AT91 GPIO wrappers

This is a first cut at making the AT91 code use the generic GPIO calls.

Note that the original AT91 GPIO calls merged the "mux pin as GPIO" and "set
GPIO direction" functionality into one API call, contrary to what's specified
as a cross-platform portable model.  So this involved a few non-inlinable
functions.

[akpm@osdl.org: cleanups]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-at91rm9200/gpio.c
include/asm-arm/arch-at91rm9200/gpio.h