diff options
author | Uli Luckas <u.luckas@road.de> | 2008-07-14 22:38:30 +0200 |
---|---|---|
committer | Jean Delvare <khali@mahadeva.delvare> | 2008-07-14 22:38:30 +0200 |
commit | 47a9b1379a5ebc8b00ba8635d1d3885fc0d51739 (patch) | |
tree | 6e0b7680b14544c42356a4de1765605aa689cd4f /drivers/i2c | |
parent | d3dc685eb5ef64aa695dabb74f00440ec3ab6796 (diff) | |
download | linux-47a9b1379a5ebc8b00ba8635d1d3885fc0d51739.tar.bz2 |
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.c | 2 |
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) 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); |