]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/gpio/max732x.c
Merge branch 'proc' of git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc
[linux-2.6-omap-h63xx.git] / drivers / gpio / max732x.c
index b51c8135ca284c8bfd229b763ccd68e45e1b4ae8..55ae9a41897aafe0db3da8d2fde1e7a7aec174d9 100644 (file)
@@ -372,7 +372,10 @@ static int __init max732x_init(void)
 {
        return i2c_add_driver(&max732x_driver);
 }
-module_init(max732x_init);
+/* register after i2c postcore initcall and before
+ * subsys initcalls that may rely on these GPIOs
+ */
+subsys_initcall(max732x_init);
 
 static void __exit max732x_exit(void)
 {