aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/max77693.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
index 27f5da3bc63a..4d81ed285fa2 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -225,11 +225,19 @@ static const struct dev_pm_ops max77693_pm = {
225 .resume = max77693_resume, 225 .resume = max77693_resume,
226}; 226};
227 227
228#ifdef CONFIG_OF
229static struct of_device_id max77693_dt_match[] = {
230 { .compatible = "maxim,max77693" },
231 {},
232};
233#endif
234
228static struct i2c_driver max77693_i2c_driver = { 235static struct i2c_driver max77693_i2c_driver = {
229 .driver = { 236 .driver = {
230 .name = "max77693", 237 .name = "max77693",
231 .owner = THIS_MODULE, 238 .owner = THIS_MODULE,
232 .pm = &max77693_pm, 239 .pm = &max77693_pm,
240 .of_match_table = of_match_ptr(max77693_dt_match),
233 }, 241 },
234 .probe = max77693_i2c_probe, 242 .probe = max77693_i2c_probe,
235 .remove = max77693_i2c_remove, 243 .remove = max77693_i2c_remove,