[ARM] KS8695: Fixup the KS8695 GPIO to be GPIOLIB
authorDaniel Silverstone <dsilvers@simtec.co.uk>
Sat, 13 Dec 2008 20:44:12 +0000 (20:44 +0000)
committerBen Dooks <ben-linux@fluff.org>
Sun, 14 Dec 2008 11:34:47 +0000 (11:34 +0000)
commit72880ad866c21badace4d8026c1e58f2fde087fb
tree83a2a5a7f46ef890426ee83c931c14ac325724be
parentfbd627100bc4a9ebce8c7617df499ee5db763780
[ARM] KS8695: Fixup the KS8695 GPIO to be GPIOLIB

This patch is as small a change as possible to the KS8695 GPIO layer
to use GPIOLIB to allow the generic GPIO expanders and the like to
be compiled.

As a side-effect, we also remove __init_or_module from several
functions which could be called by drivers such as i2c-gpio which
could plausibly be compiled into a non-modular kernel.

Signed-off-by: Daniel Silverstone <dsilvers@simtec.co.uk>
Signed-off-by: Vincent Sanders <vince@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/Kconfig
arch/arm/mach-ks8695/board-micrel.c
arch/arm/mach-ks8695/gpio.c
arch/arm/mach-ks8695/include/mach/gpio.h