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:
@@ -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),
|
||||||
|
Reference in New Issue
Block a user