We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecf1cf1 commit a76539bCopy full SHA for a76539b
drivers/hwmon/pmbus/dps920ab.c
@@ -190,12 +190,19 @@ static const struct of_device_id __maybe_unused dps920ab_of_match[] = {
190
191
MODULE_DEVICE_TABLE(of, dps920ab_of_match);
192
193
+static const struct i2c_device_id dps920ab_device_id[] = {
194
+ { "dps920ab" },
195
+ {}
196
+};
197
+MODULE_DEVICE_TABLE(i2c, dps920ab_device_id);
198
+
199
static struct i2c_driver dps920ab_driver = {
200
.driver = {
201
.name = "dps920ab",
202
.of_match_table = of_match_ptr(dps920ab_of_match),
203
},
204
.probe = dps920ab_probe,
205
+ .id_table = dps920ab_device_id,
206
};
207
208
module_i2c_driver(dps920ab_driver);
0 commit comments