* [PATCH] iio: lidar: add missing MODULE_DEVICE_TABLE for dt
@ 2015-09-23 6:22 Matt Ranostay
2015-09-27 15:39 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Matt Ranostay @ 2015-09-23 6:22 UTC (permalink / raw)
To: jic23, lars, pmeerw; +Cc: linux-iio, Matt Ranostay
The device tree compatible strings weren't properly
registered for the pulsedlight-lidar-lite-v2 driver.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
---
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 = {
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] iio: lidar: add missing MODULE_DEVICE_TABLE for dt
2015-09-23 6:22 [PATCH] iio: lidar: add missing MODULE_DEVICE_TABLE for dt Matt Ranostay
@ 2015-09-27 15:39 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2015-09-27 15:39 UTC (permalink / raw)
To: Matt Ranostay, lars, pmeerw; +Cc: linux-iio
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 = {
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-27 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23 6:22 [PATCH] iio: lidar: add missing MODULE_DEVICE_TABLE for dt Matt Ranostay
2015-09-27 15:39 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).