Skip to content

Commit

Permalink
Input: cma3000_d0x_i2c - add MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
This should allow loading this module automatically on systems that
have such device.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Dec 8, 2010
1 parent b8a3d6b commit 356c6f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/input/misc/cma3000_d0x_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 356c6f6

Please sign in to comment.