Input: cma3000_d0x_i2c - add MODULE_DEVICE_TABLE
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 8 Dec 2010 06:11:09 +0000 (22:11 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 8 Dec 2010 06:13:40 +0000 (22:13 -0800)
This should allow loading this module automatically on systems that
have such device.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/cma3000_d0x_i2c.c

index c52d278..d100cc5 100644 (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),