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>
This commit is contained in:
parent
18b08c55a9
commit
cd566c64f5
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Reference in a new issue