summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorUli Luckas <u.luckas@road.de>2008-07-14 22:38:30 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 22:38:30 +0200
commit47a9b1379a5ebc8b00ba8635d1d3885fc0d51739 (patch)
tree6e0b7680b14544c42356a4de1765605aa689cd4f /drivers/i2c
parentd3dc685eb5ef64aa695dabb74f00440ec3ab6796 (diff)
downloadlinux-3.10-47a9b1379a5ebc8b00ba8635d1d3885fc0d51739.tar.gz
linux-3.10-47a9b1379a5ebc8b00ba8635d1d3885fc0d51739.tar.bz2
linux-3.10-47a9b1379a5ebc8b00ba8635d1d3885fc0d51739.zip
i2c-pxa: Initialize early
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-pxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index eb69fbadc9c..78c0fc42bc7 100644
--- a/drivers/i2c/busses/i2c-pxa.c
+++ b/drivers/i2c/busses/i2c-pxa.c
@@ -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);