summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.29/925-modify-i2c-gpio-initcall-level.patch
blob: 1708e33d019310ff00b4fa6769bb667e88ecb8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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)
 {