Input: mma8450 - fix module device table type
Subsystems (2)
PATCH 1/1 Input: mma8450 - fix module device table type
The module device table for of_device_id should use "of" type.
Signed-off-by Axel Lin <[email protected]>
--- drivers/input/misc/mma8450.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/misc/mma8450.c +1 -1
@@ -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 = {
Signature · 1 line
1.7.4.1
Quoted 2 lines · Axel Lin
The module device table for
of_device_idshould use "of" type.
Applied, thanks Axel.
Signature · 1 line
Dmitry