aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorUli Luckas <u.luckas@road.de>2008-07-14 16:38:30 -0400
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 16:38:30 -0400
commit47a9b1379a5ebc8b00ba8635d1d3885fc0d51739 (patch)
tree6e0b7680b14544c42356a4de1765605aa689cd4f /drivers/i2c
parentd3dc685eb5ef64aa695dabb74f00440ec3ab6796 (diff)
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 eb69fbadc9cb..78c0fc42bc73 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)
1134MODULE_LICENSE("GPL"); 1134MODULE_LICENSE("GPL");
1135MODULE_ALIAS("platform:pxa2xx-i2c"); 1135MODULE_ALIAS("platform:pxa2xx-i2c");
1136 1136
1137module_init(i2c_adap_pxa_init); 1137subsys_initcall(i2c_adap_pxa_init);
1138module_exit(i2c_adap_pxa_exit); 1138module_exit(i2c_adap_pxa_exit);