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: Rodrigo Ribeiro <rodrigorsdc@gmail.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Rodrigo Ribeiro 2019-05-24 00:29:50 -03:00 committed by Jonathan Cameron
parent 094c52dbaf
commit bc4054b55f

View File

@ -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,