openwrtv3/target/linux/generic-2.6/patches-2.6.32/925-modify-i2c-gpio-initcall-level.patch
Imre Kaloz 3d4466cfd8 add preliminary 2.6.32 support
SVN-Revision: 18283
2009-11-03 10:49:27 +00:00

11 lines
256 B
Diff

--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -210,7 +210,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)
{