From: Matt Ranostay Date: Thu, 29 Dec 2016 05:13:06 +0000 (-0800) Subject: iio: pulsedlight-lidar-lite-v2: add lidar-lite-v3 property X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b257c1a45e9967ad84f9c5d40e657074d979ce70;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iio: pulsedlight-lidar-lite-v2: add lidar-lite-v3 property 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 1fa9eefa0982..20c16a08c9d9 100644 --- a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c +++ b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c @@ -326,12 +326,14 @@ static int lidar_remove(struct i2c_client *client) static const struct i2c_device_id lidar_id[] = { {"lidar-lite-v2", 0}, + {"lidar-lite-v3", 0}, { }, }; MODULE_DEVICE_TABLE(i2c, lidar_id); static const struct of_device_id lidar_dt_ids[] = { { .compatible = "pulsedlight,lidar-lite-v2" }, + { .compatible = "grmn,lidar-lite-v3" }, { } }; MODULE_DEVICE_TABLE(of, lidar_dt_ids);