提交 ae1390d8 编写于 作者: Y Yoichi Yuasa 提交者: Linus Torvalds

[PATCH] i2c-sibyte: Fix modular build breakage

Fix undefined reference in i2c_sibyte_exit().

   drivers/built-in.o: In function `i2c_sibyte_exit':
   i2c-sibyte.c:(.exit.text+0x368): undefined reference to `i2c_del_bus'
   i2c-sibyte.c:(.exit.text+0x368): relocation truncated to fit: R_MIPS_26 against `i2c_del_bus'
   i2c-sibyte.c:(.exit.text+0x38c): undefined reference to `i2c_del_bus'
   i2c-sibyte.c:(.exit.text+0x38c): relocation truncated to fit: R_MIPS_26 against `i2c_del_bus'
Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 181b6480
...@@ -210,8 +210,8 @@ static int __init i2c_sibyte_init(void) ...@@ -210,8 +210,8 @@ static int __init i2c_sibyte_init(void)
static void __exit i2c_sibyte_exit(void) static void __exit i2c_sibyte_exit(void)
{ {
i2c_del_bus(&sibyte_board_adapter[0]); i2c_del_adapter(&sibyte_board_adapter[0]);
i2c_del_bus(&sibyte_board_adapter[1]); i2c_del_adapter(&sibyte_board_adapter[1]);
} }
module_init(i2c_sibyte_init); module_init(i2c_sibyte_init);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册