[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)
commita31c4eea2127ee52b5c7c1befada4664963ad030
treedc459f1ddba26772c9faa26ac8cdef0c41afd300
parent3c729f1ecd23b86a2d6b211d646f57f9da8dfeb1
[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