linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 18/23] dma: coh901318: add devicetree support
@ 2013-04-22  9:59 Linus Walleij
  2013-04-22 10:34 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2013-04-22  9:59 UTC (permalink / raw)
  To: linux-arm-kernel

From: Linus Walleij <linus.walleij@linaro.org>

This adds support for probing the COH 901 318 DMA controller
from the device tree.

Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Hi Vinod, I'm seeking an ACK on this patch to take it through
the ARM SoC tree.
---
 drivers/dma/coh901318.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
index 797940e..2855646 100644
--- a/drivers/dma/coh901318.c
+++ b/drivers/dma/coh901318.c
@@ -2758,11 +2758,16 @@ static int __exit coh901318_remove(struct platform_device *pdev)
 	return 0;
 }
 
+static const struct of_device_id coh901318_dt_match[] = {
+	{ .compatible = "stericsson,coh901318" },
+	{},
+};
 
 static struct platform_driver coh901318_driver = {
 	.remove = __exit_p(coh901318_remove),
 	.driver = {
 		.name	= "coh901318",
+		.of_match_table = coh901318_dt_match,
 	},
 };
 
-- 
1.7.11.3

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

* [PATCH 18/23] dma: coh901318: add devicetree support
  2013-04-22  9:59 [PATCH 18/23] dma: coh901318: add devicetree support Linus Walleij
@ 2013-04-22 10:34 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2013-04-22 10:34 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Apr 22, 2013 at 11:59:30AM +0200, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij@linaro.org>
> 
> This adds support for probing the COH 901 318 DMA controller
> from the device tree.
> 
> Cc: Vinod Koul <vinod.koul@intel.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>

--
~Vinod
> ---
> Hi Vinod, I'm seeking an ACK on this patch to take it through
> the ARM SoC tree.
> ---
>  drivers/dma/coh901318.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
> index 797940e..2855646 100644
> --- a/drivers/dma/coh901318.c
> +++ b/drivers/dma/coh901318.c
> @@ -2758,11 +2758,16 @@ static int __exit coh901318_remove(struct platform_device *pdev)
>  	return 0;
>  }
>  
> +static const struct of_device_id coh901318_dt_match[] = {
> +	{ .compatible = "stericsson,coh901318" },
> +	{},
> +};
>  
>  static struct platform_driver coh901318_driver = {
>  	.remove = __exit_p(coh901318_remove),
>  	.driver = {
>  		.name	= "coh901318",
> +		.of_match_table = coh901318_dt_match,
>  	},
>  };
>  
> -- 
> 1.7.11.3
> 

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

end of thread, other threads:[~2013-04-22 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-22  9:59 [PATCH 18/23] dma: coh901318: add devicetree support Linus Walleij
2013-04-22 10:34 ` Vinod Koul

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