diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-05-18 15:03:23 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-18 15:03:23 -0400 |
commit | 9c0ec95797052af84b7579e2a00ea212cebf71a8 (patch) | |
tree | d1e9b441de9daee46db569bb34204d6e36f276aa /arch/arm/plat-s3c24xx | |
parent | 373e9644c5f557bc8992036f9a9281e9d98aef40 (diff) |
[ARM] S3C24XX: GPIO: Move gpiolib initialisation earlier
The arch_initcall() is too late for board initialisation to use
gpiolib when doing their machine specific initilisation via the
.init_machine callback.
Bring the file into line with the s3c64xx implementation and use
the core_initcall() to register the GPIO chips.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/gpiolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/gpiolib.c b/arch/arm/plat-s3c24xx/gpiolib.c index a82adc3c98a5..9a2d114005b5 100644 --- a/arch/arm/plat-s3c24xx/gpiolib.c +++ b/arch/arm/plat-s3c24xx/gpiolib.c | |||
@@ -165,4 +165,4 @@ static __init int s3c24xx_gpiolib_init(void) | |||
165 | return 0; | 165 | return 0; |
166 | } | 166 | } |
167 | 167 | ||
168 | arch_initcall(s3c24xx_gpiolib_init); | 168 | core_initcall(s3c24xx_gpiolib_init); |