]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
i2c-pxa: Initialize early
authorUli Luckas <u.luckas@road.de>
Mon, 14 Jul 2008 20:38:30 +0000 (22:38 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Mon, 14 Jul 2008 20:38:30 +0000 (22:38 +0200)
Initialize the pxa i2c bus during subsystem initialization to make it
available during driver initialization (e.g. display powerup for pxafb).

Signed-off-by: Uli Luckas <u.luckas@road.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-pxa.c

index eb69fbadc9cb273a77111a0fe43a55debf13f4da..78c0fc42bc735af653ef9d85590dea073a10aa89 100644 (file)
@@ -1134,5 +1134,5 @@ static void __exit i2c_adap_pxa_exit(void)
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("platform:pxa2xx-i2c");
 
-module_init(i2c_adap_pxa_init);
+subsys_initcall(i2c_adap_pxa_init);
 module_exit(i2c_adap_pxa_exit);