diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-01-23 17:06:23 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-02-26 23:21:50 +0000 |
commit | 24d4076734b4ecf083a6be611040fe0743e59989 (patch) | |
tree | 0661c58a9ff55916fb0aef8520c137cd85cdd884 /arch/arm/plat-s3c64xx/include | |
parent | 8bd8dbdf3725ce569467bd704840249869f626d6 (diff) |
[ARM] S3C64XX: Do gpiolib configuration earlier
arch_initcall() runs after the machine init function which means that
any configuration of GPIO pins must currently be done later on, for
example in callbacks from drivers. Move the initialisation earlier in
order to allow machines to configure GPIOs directly in their init
functions rather than having to have a callback invoked later on.
Some other ARM platforms use this method. Other solutions for this
include providing a special interface for setting up GPIOs en masse,
adding callbacks to do the GPIO configuration from devices and doing
the GPIO configuration implicitly.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx/include')
0 files changed, 0 insertions, 0 deletions