提交 80cf2b5c 编写于 作者: M Matt Ranostay 提交者: Jonathan Cameron

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: NMatt Ranostay <mranostay@gmail.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 bf23cee6
...@@ -271,6 +271,7 @@ static const struct of_device_id lidar_dt_ids[] = { ...@@ -271,6 +271,7 @@ static const struct of_device_id lidar_dt_ids[] = {
{ .compatible = "pulsedlight,lidar-lite-v2" }, { .compatible = "pulsedlight,lidar-lite-v2" },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, lidar_dt_ids);
static struct i2c_driver lidar_driver = { static struct i2c_driver lidar_driver = {
.driver = { .driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册