Skip to content

Commit

Permalink
[ARM] S3C24XX: GPIO: Move gpiolib initialisation earlier
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks committed May 18, 2009
1 parent 373e964 commit 9c0ec95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-s3c24xx/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ static __init int s3c24xx_gpiolib_init(void)
return 0;
}

arch_initcall(s3c24xx_gpiolib_init);
core_initcall(s3c24xx_gpiolib_init);

0 comments on commit 9c0ec95

Please sign in to comment.