提交 6113c3a5 编写于 作者: L Liam Girdwood

regulator: lp3971 - fix driver link error when built-in.

lp3971_i2c_remove' referenced in section `.data' of drivers/built-in.o:
defined in discarded section `.devexit.text' of drivers/built-in.o
Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 0cbdf7bc
...@@ -535,7 +535,7 @@ static struct i2c_driver lp3971_i2c_driver = { ...@@ -535,7 +535,7 @@ static struct i2c_driver lp3971_i2c_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = lp3971_i2c_probe, .probe = lp3971_i2c_probe,
.remove = lp3971_i2c_remove, .remove = __devexit_p(lp3971_i2c_remove),
.id_table = lp3971_i2c_id, .id_table = lp3971_i2c_id,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册