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:
Родитель
094c52dbaf
Коммит
bc4054b55f
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче