Bläddra i källkod

[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>
Ben Dooks 16 år sedan
förälder
incheckning
9c0ec95797
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      arch/arm/plat-s3c24xx/gpiolib.c

+ 1 - 1
arch/arm/plat-s3c24xx/gpiolib.c

@@ -165,4 +165,4 @@ static __init int s3c24xx_gpiolib_init(void)
 	return 0;
 }
 
-arch_initcall(s3c24xx_gpiolib_init);
+core_initcall(s3c24xx_gpiolib_init);