diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-12-07 22:11:09 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-12-07 22:13:40 -0800 |
commit | 356c6f654d1c03e2ae45ef58b267e83dfd1a17f2 (patch) | |
tree | f8a790210db78e08b53e665e04475a0c1ca982a8 /drivers/input/misc | |
parent | b8a3d6bcbc85d7636d9f2adede8479ce2999c232 (diff) |
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>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/cma3000_d0x_i2c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/misc/cma3000_d0x_i2c.c b/drivers/input/misc/cma3000_d0x_i2c.c index c52d278a794..d100cc5c578 100644 --- a/drivers/input/misc/cma3000_d0x_i2c.c +++ b/drivers/input/misc/cma3000_d0x_i2c.c @@ -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), |