Input: cma3000_d0x_i2c - add MODULE_DEVICE_TABLE
This should allow loading this module automatically on systems that have such device. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
b8a3d6bcbc
commit
356c6f654d
|
@ -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 = {
|
||||
.probe = cma3000_i2c_probe,
|
||||
.remove = __devexit_p(cma3000_i2c_remove),
|
||||
|
|
Loading…
Reference in a new issue