openwrtv3/target/linux/generic-2.6/patches-2.6.34/925-modify-i2c-gpio-initcall-level.patch
Hauke Mehrtens 78981f6f3c kernel: refresh patches with 2.6.34-rc4
SVN-Revision: 20999
2010-04-18 18:35:47 +00:00

11 lines
256 B
Diff

--- 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)
{