diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-01 15:03:12 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-01 15:03:12 +0100 |
| commit | 089565a0e59990c2dfb9d82aed4ca19debf8a332 (patch) | |
| tree | 684a47b343b83996d00d52411055bdb458697fa4 | |
| parent | b23321a46a5d963302d8ad5d05593df028db4340 (diff) | |
| parent | 53f33fd74d3993af0fbb5494b5be709f6ca6b712 (diff) | |
| download | linux-next-089565a0e59990c2dfb9d82aed4ca19debf8a332.tar.gz linux-next-089565a0e59990c2dfb9d82aed4ca19debf8a332.zip | |
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-w1.git
| -rw-r--r-- | drivers/w1/masters/ds2482.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c index 0069e6f854d7..9e57c6e487d1 100644 --- a/drivers/w1/masters/ds2482.c +++ b/drivers/w1/masters/ds2482.c @@ -545,9 +545,17 @@ static const struct i2c_device_id ds2482_id[] = { }; MODULE_DEVICE_TABLE(i2c, ds2482_id); +static const struct of_device_id ds2482_of_match[] = { + { .compatible = "maxim,ds2482", }, + { .compatible = "maxim,ds2484", }, + { } +}; +MODULE_DEVICE_TABLE(of, ds2482_of_match); + static struct i2c_driver ds2482_driver = { .driver = { .name = "ds2482", + .of_match_table = ds2482_of_match, }, .probe = ds2482_probe, .remove = ds2482_remove, |
