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:
Dmitry Torokhov 2010-12-07 22:11:09 -08:00
parent b8a3d6bcbc
commit 356c6f654d

View file

@ -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),