Skip to contentSkip to conversation

Input: mma8450 - fix module device table type

PATCH Applied Axel Lin 2 participants 2 messages Aug 7, 2011 – Aug 9, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 Input: mma8450 - fix module device table type

The module device table for of_device_id should use "of" type.

---
 drivers/input/misc/mma8450.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/misc/mma8450.c +1 -1
index 6c76cf7..0794778 100644
@@ -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
maintainer Applied
#1 lore raw
Quoted 2 lines · Axel Lin

The module device table for of_device_id should use "of" type.

Applied, thanks Axel.

Signature · 1 line
Dmitry