diff options
author | Rodrigo Ribeiro <rodrigorsdc@gmail.com> | 2019-05-24 06:29:50 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-05-26 20:48:14 +0300 |
commit | bc4054b55f14f33fdeb8c2d51eef4eaf5e4e1862 (patch) | |
tree | d0fa1fe7d9fc456d40f87a9c24ab35551a697801 /drivers | |
parent | 094c52dbaf0a9aae5cef59eaa17cf257aa76bd74 (diff) | |
download | linux-bc4054b55f14f33fdeb8c2d51eef4eaf5e4e1862.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/accel/adis16240.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/accel/adis16240.c b/drivers/staging/iio/accel/adis16240.c index 8c6d23604eca..b80c8529784b 100644 --- a/drivers/staging/iio/accel/adis16240.c +++ b/drivers/staging/iio/accel/adis16240.c @@ -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, |