mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
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:
parent
094c52dbaf
commit
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,
|
||||
|
Loading…
Reference in New Issue
Block a user