diff options
author | Matt Ranostay <mranostay@gmail.com> | 2015-09-22 23:22:03 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-30 18:20:53 +0100 |
commit | 80cf2b5ca4e4c43222d7ac9ba606d21f3d3f4a2c (patch) | |
tree | 4b2773c3f635294bcfd7d2ed68ee94781325040d /drivers/iio | |
parent | bf23cee62d5953927758ff6287d300dc945afc84 (diff) | |
download | blackbird-op-linux-80cf2b5ca4e4c43222d7ac9ba606d21f3d3f4a2c.tar.gz blackbird-op-linux-80cf2b5ca4e4c43222d7ac9ba606d21f3d3f4a2c.zip |
iio: lidar: add missing MODULE_DEVICE_TABLE for dt
The device tree compatible strings weren't properly
registered for the pulsedlight-lidar-lite-v2 driver.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/proximity/pulsedlight-lidar-lite-v2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c index 185a7ab4f31b..961f9f990faf 100644 --- a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c +++ b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c @@ -271,6 +271,7 @@ static const struct of_device_id lidar_dt_ids[] = { { .compatible = "pulsedlight,lidar-lite-v2" }, { } }; +MODULE_DEVICE_TABLE(of, lidar_dt_ids); static struct i2c_driver lidar_driver = { .driver = { |