[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-iio
Subject:    Re: [PATCH] iio: lidar: add missing MODULE_DEVICE_TABLE for dt
From:       Jonathan Cameron <jic23 () kernel ! org>
Date:       2015-09-27 15:39:30
Message-ID: 56080DB2.8030801 () kernel ! org
[Download RAW message or body]

On 23/09/15 07:22, Matt Ranostay wrote:
> The device tree compatible strings weren't properly
> registered for the pulsedlight-lidar-lite-v2 driver.
> 
> Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Applied.
> ---
> drivers/iio/proximity/pulsedlight-lidar-lite-v2.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c \
> b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c index 185a7ab..961f9f99 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 = {
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic