From: Matt Ranostay Date: Wed, 23 Sep 2015 06:22:03 +0000 (-0700) Subject: iio: lidar: add missing MODULE_DEVICE_TABLE for dt X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80cf2b5ca4e4c43222d7ac9ba606d21f3d3f4a2c;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Jonathan Cameron --- 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 = {