Skip to content
Snippets Groups Projects
Commit bc4054b5 authored by Rodrigo Ribeiro's avatar Rodrigo Ribeiro Committed by Jonathan Cameron
Browse files

staging: iio: adis16240: add of_match_table entry


This patch adds of_match_table entry in device driver in order to
enable spi fallback probing.

Signed-off-by: default avatarRodrigo Ribeiro <rodrigorsdc@gmail.com>
Reviewed-by: default avatarMarcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 094c52db
No related branches found
No related tags found
No related merge requests found
......@@ -444,6 +444,7 @@ MODULE_DEVICE_TABLE(of, adis16240_of_match);
static struct spi_driver adis16240_driver = {
.driver = {
.name = "adis16240",
.of_match_table = adis16240_of_match,
},
.probe = adis16240_probe,
.remove = adis16240_remove,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment