projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3dc685
)
i2c-pxa: Initialize early
author
Uli Luckas
<u.luckas@road.de>
Mon, 14 Jul 2008 20:38:30 +0000
(22:38 +0200)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-pxa.c
b/drivers/i2c/busses/i2c-pxa.c
index eb69fbadc9cb273a77111a0fe43a55debf13f4da..78c0fc42bc735af653ef9d85590dea073a10aa89 100644
(file)
--- 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);