Skip to content

Commit

Permalink
Input: mma8450 - fix module device table type
Browse files Browse the repository at this point in the history
The module device table for of_device_id should use "of" type.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Axel Lin authored and Dmitry Torokhov committed Aug 9, 2011
1 parent 18b08c5 commit cd566c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/misc/mma8450.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static const struct of_device_id mma8450_dt_ids[] = {
{ .compatible = "fsl,mma8450", },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(i2c, mma8450_dt_ids);
MODULE_DEVICE_TABLE(of, mma8450_dt_ids);

static struct i2c_driver mma8450_driver = {
.driver = {
Expand Down

0 comments on commit cd566c6

Please sign in to comment.