linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] imx2_wdt: expose module alias for loading from device-tree
@ 2013-07-29  7:38 Niels de Vos
  2013-07-30  3:02 ` Shawn Guo
  2013-10-29  7:36 ` Wim Van Sebroeck
  0 siblings, 2 replies; 3+ messages in thread
From: Niels de Vos @ 2013-07-29  7:38 UTC (permalink / raw)
  To: devicetree
  Cc: Wim Van Sebroeck, linux-watchdog, linux-kernel, Niels de Vos, Shawn Guo

Enable auto loading by udev when imx2_wdt is compiled as a module.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
 drivers/watchdog/imx2_wdt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c
index 693ac3f..17680aa 100644
--- a/drivers/watchdog/imx2_wdt.c
+++ b/drivers/watchdog/imx2_wdt.c
@@ -322,6 +322,7 @@ static const struct of_device_id imx2_wdt_dt_ids[] = {
 	{ .compatible = "fsl,imx21-wdt", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, imx2_wdt_dt_ids);
 
 static struct platform_driver imx2_wdt_driver = {
 	.remove		= __exit_p(imx2_wdt_remove),
-- 
1.7.11.7


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] imx2_wdt: expose module alias for loading from device-tree
  2013-07-29  7:38 [PATCH] imx2_wdt: expose module alias for loading from device-tree Niels de Vos
@ 2013-07-30  3:02 ` Shawn Guo
  2013-10-29  7:36 ` Wim Van Sebroeck
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2013-07-30  3:02 UTC (permalink / raw)
  To: Niels de Vos; +Cc: devicetree, Wim Van Sebroeck, linux-watchdog, linux-kernel

On Mon, Jul 29, 2013 at 09:38:18AM +0200, Niels de Vos wrote:
> Enable auto loading by udev when imx2_wdt is compiled as a module.
> 
> Signed-off-by: Niels de Vos <ndevos@redhat.com>
> Cc: Shawn Guo <shawn.guo@linaro.org>

Acked-by: Shawn Guo <shawn.guo@linaro.org>

> ---
>  drivers/watchdog/imx2_wdt.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c
> index 693ac3f..17680aa 100644
> --- a/drivers/watchdog/imx2_wdt.c
> +++ b/drivers/watchdog/imx2_wdt.c
> @@ -322,6 +322,7 @@ static const struct of_device_id imx2_wdt_dt_ids[] = {
>  	{ .compatible = "fsl,imx21-wdt", },
>  	{ /* sentinel */ }
>  };
> +MODULE_DEVICE_TABLE(of, imx2_wdt_dt_ids);
>  
>  static struct platform_driver imx2_wdt_driver = {
>  	.remove		= __exit_p(imx2_wdt_remove),
> -- 
> 1.7.11.7
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] imx2_wdt: expose module alias for loading from device-tree
  2013-07-29  7:38 [PATCH] imx2_wdt: expose module alias for loading from device-tree Niels de Vos
  2013-07-30  3:02 ` Shawn Guo
@ 2013-10-29  7:36 ` Wim Van Sebroeck
  1 sibling, 0 replies; 3+ messages in thread
From: Wim Van Sebroeck @ 2013-10-29  7:36 UTC (permalink / raw)
  To: Niels de Vos; +Cc: devicetree, linux-watchdog, linux-kernel, Shawn Guo

Hi Niels,

> Enable auto loading by udev when imx2_wdt is compiled as a module.
> 
> Signed-off-by: Niels de Vos <ndevos@redhat.com>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> ---
>  drivers/watchdog/imx2_wdt.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c
> index 693ac3f..17680aa 100644
> --- a/drivers/watchdog/imx2_wdt.c
> +++ b/drivers/watchdog/imx2_wdt.c
> @@ -322,6 +322,7 @@ static const struct of_device_id imx2_wdt_dt_ids[] = {
>  	{ .compatible = "fsl,imx21-wdt", },
>  	{ /* sentinel */ }
>  };
> +MODULE_DEVICE_TABLE(of, imx2_wdt_dt_ids);
>  
>  static struct platform_driver imx2_wdt_driver = {
>  	.remove		= __exit_p(imx2_wdt_remove),

This has been added to linux-watchdog-next.

Kind regards,
Wim.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-29  7:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-29  7:38 [PATCH] imx2_wdt: expose module alias for loading from device-tree Niels de Vos
2013-07-30  3:02 ` Shawn Guo
2013-10-29  7:36 ` Wim Van Sebroeck

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).