diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-12-08 01:11:09 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-12-08 01:13:40 -0500 |
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 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[] = { | |||
110 | { }, | 110 | { }, |
111 | }; | 111 | }; |
112 | 112 | ||
113 | MODULE_DEVICE_TABLE(i2c, cma3000_i2c_id); | ||
114 | |||
113 | static struct i2c_driver cma3000_i2c_driver = { | 115 | static struct i2c_driver cma3000_i2c_driver = { |
114 | .probe = cma3000_i2c_probe, | 116 | .probe = cma3000_i2c_probe, |
115 | .remove = __devexit_p(cma3000_i2c_remove), | 117 | .remove = __devexit_p(cma3000_i2c_remove), |