Message ID | 1312726487.7287.2.camel@phoenix (mailing list archive) |
---|---|
State | Accepted |
Commit | cd566c64f50e568c0ac3c13bdd15f523631ce845 |
Headers | show |
On Sun, Aug 07, 2011 at 10:14:47PM +0800, Axel Lin wrote: > The module device table for of_device_id should use "of" type. > Applied, thanks Axel.
diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c index 6c76cf7..0794778 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[] = { { .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 = {
The module device table for of_device_id should use "of" type. Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/input/misc/mma8450.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)