]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[ARM] S3C24XX: GPIO: Move gpiolib initialisation earlier
authorBen Dooks <ben-linux@fluff.org>
Mon, 18 May 2009 19:03:23 +0000 (20:03 +0100)
committerBen Dooks <ben-linux@fluff.org>
Mon, 18 May 2009 19:03:23 +0000 (20:03 +0100)
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>
arch/arm/plat-s3c24xx/gpiolib.c

index a82adc3c98a5d2685b3947d2cf270abf7c219369..9a2d114005b5f767ad3cce83f8fa70eaa98798fe 100644 (file)
@@ -165,4 +165,4 @@ static __init int s3c24xx_gpiolib_init(void)
        return 0;
 }
 
-arch_initcall(s3c24xx_gpiolib_init);
+core_initcall(s3c24xx_gpiolib_init);