aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ds1621.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ds1621.c')
-rw-r--r--drivers/hwmon/ds1621.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c
index 42ec34cb8a5f..30d2a771054f 100644
--- a/drivers/hwmon/ds1621.c
+++ b/drivers/hwmon/ds1621.c
@@ -376,6 +376,16 @@ static const struct i2c_device_id ds1621_id[] = {
};
MODULE_DEVICE_TABLE(i2c, ds1621_id);
+static const struct of_device_id ds1621_of_ids[] = {
+ { .compatible = "dallas,ds1621", },
+ { .compatible = "dallas,ds1625", },
+ { .compatible = "dallas,ds1631", },
+ { .compatible = "dallas,ds1721", },
+ { .compatible = "dallas,ds1731", },
+ { }
+};
+MODULE_DEVICE_TABLE(of, ds1621_of_ids);
+
/* This is the driver that will be inserted */
static struct i2c_driver ds1621_driver = {
.driver = {