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 855fe49 commit 1774559Copy full SHA for 1774559
drivers/net/dsa/vitesse-vsc73xx-spi.c
@@ -205,10 +205,20 @@ static const struct of_device_id vsc73xx_of_match[] = {
205
};
206
MODULE_DEVICE_TABLE(of, vsc73xx_of_match);
207
208
+static const struct spi_device_id vsc73xx_spi_ids[] = {
209
+ { "vsc7385" },
210
+ { "vsc7388" },
211
+ { "vsc7395" },
212
+ { "vsc7398" },
213
+ { },
214
+};
215
+MODULE_DEVICE_TABLE(spi, vsc73xx_spi_ids);
216
+
217
static struct spi_driver vsc73xx_spi_driver = {
218
.probe = vsc73xx_spi_probe,
219
.remove = vsc73xx_spi_remove,
220
.shutdown = vsc73xx_spi_shutdown,
221
+ .id_table = vsc73xx_spi_ids,
222
.driver = {
223
.name = "vsc73xx-spi",
224
.of_match_table = vsc73xx_of_match,
0 commit comments