diff options
| author | Axel Lin <axel.lin@gmail.com> | 2011-08-09 02:39:59 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-08-09 02:54:57 -0400 |
| commit | cd566c64f50e568c0ac3c13bdd15f523631ce845 (patch) | |
| tree | faa3afeb4fab715ccd3dc80788c7625ee6adcb14 | |
| parent | 18b08c55a9b04c8783420fb6657599ad724459cc (diff) | |
Input: mma8450 - fix module device table type
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>
| -rw-r--r-- | drivers/input/misc/mma8450.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c index 6c76cf792991..0794778295fc 100644 --- a/drivers/input/misc/mma8450.c +++ b/drivers/input/misc/mma8450.c | |||
| @@ -234,7 +234,7 @@ static const struct of_device_id mma8450_dt_ids[] = { | |||
| 234 | { .compatible = "fsl,mma8450", }, | 234 | { .compatible = "fsl,mma8450", }, |
| 235 | { /* sentinel */ } | 235 | { /* sentinel */ } |
| 236 | }; | 236 | }; |
| 237 | MODULE_DEVICE_TABLE(i2c, mma8450_dt_ids); | 237 | MODULE_DEVICE_TABLE(of, mma8450_dt_ids); |
| 238 | 238 | ||
| 239 | static struct i2c_driver mma8450_driver = { | 239 | static struct i2c_driver mma8450_driver = { |
| 240 | .driver = { | 240 | .driver = { |
