1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 16:26:16 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.34/925-modify-i2c-gpio-initcall-level.patch

12 lines
256 B
Diff
Raw Normal View History

--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -211,7 +211,7 @@ static int __init i2c_gpio_init(void)
return ret;
}
-module_init(i2c_gpio_init);
+subsys_initcall(i2c_gpio_init);
static void __exit i2c_gpio_exit(void)
{