summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-12-08 07:11:09 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-12-08 07:13:40 +0100
commit356c6f654d1c03e2ae45ef58b267e83dfd1a17f2 (patch)
treef8a790210db78e08b53e665e04475a0c1ca982a8 /drivers/input/misc
parentInput: tca6416-keypad - add support for tca6408a (diff)
downloadlinux-356c6f654d1c03e2ae45ef58b267e83dfd1a17f2.tar.xz
linux-356c6f654d1c03e2ae45ef58b267e83dfd1a17f2.zip
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.c2
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 c52d278a7942..d100cc5c5783 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),