提交 356c6f65 编写于 作者: D Dmitry Torokhov

Input: cma3000_d0x_i2c - add MODULE_DEVICE_TABLE

This should allow loading this module automatically on systems that
have such device.
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 b8a3d6bc
...@@ -110,6 +110,8 @@ static const struct i2c_device_id cma3000_i2c_id[] = { ...@@ -110,6 +110,8 @@ static const struct i2c_device_id cma3000_i2c_id[] = {
{ }, { },
}; };
MODULE_DEVICE_TABLE(i2c, cma3000_i2c_id);
static struct i2c_driver cma3000_i2c_driver = { static struct i2c_driver cma3000_i2c_driver = {
.probe = cma3000_i2c_probe, .probe = cma3000_i2c_probe,
.remove = __devexit_p(cma3000_i2c_remove), .remove = __devexit_p(cma3000_i2c_remove),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册