1
0
Fork 0

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>
hifive-unleashed-5.1
Matt Ranostay 2015-09-22 23:22:03 -07:00 committed by Jonathan Cameron
parent bf23cee62d
commit 80cf2b5ca4
1 changed files with 1 additions and 0 deletions

View File

@ -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 = {