This should allow loading this module automatically on systems that have such device. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
@@ -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),