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 c44922f commit e9241f4Copy full SHA for e9241f4
drivers/iio/dac/ad8460.c
@@ -927,12 +927,19 @@ static const struct of_device_id ad8460_of_match[] = {
927
};
928
MODULE_DEVICE_TABLE(of, ad8460_of_match);
929
930
+static const struct spi_device_id ad8460_spi_match[] = {
931
+ { .name = "ad8460" },
932
+ { }
933
+};
934
+MODULE_DEVICE_TABLE(spi, ad8460_spi_match);
935
+
936
static struct spi_driver ad8460_driver = {
937
.driver = {
938
.name = "ad8460",
939
.of_match_table = ad8460_of_match,
940
},
941
.probe = ad8460_probe,
942
+ .id_table = ad8460_spi_match,
943
944
module_spi_driver(ad8460_driver);
945
0 commit comments