iio: lidar: add missing MODULE_DEVICE_TABLE for dt
authorMatt Ranostay <mranostay@gmail.com>
Wed, 23 Sep 2015 06:22:03 +0000 (23:22 -0700)
committerJonathan Cameron <jic23@kernel.org>
Wed, 30 Sep 2015 17:20:53 +0000 (18:20 +0100)
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>
drivers/iio/proximity/pulsedlight-lidar-lite-v2.c

index 185a7ab4f31bc30100cacf2f5fe4829087ee91e2..961f9f990faffa67fccf54dfa01118ce4339f3b9 100644 (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 = {