Skip to contentSkip to conversation

dma: coh901318: add devicetree support

PATCH In review Linus Walleij 2 participants 2 messages Apr 22, 2013 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 18/23 dma: coh901318: add devicetree support

From: Linus Walleij <[email protected]>

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

---
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(+)
drivers/dma/coh901318.c +5 -0
index 797940e..2855646 100644
@@ -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,
 	},
 };
 
Signature · 1 line
1.7.11.3
#1 lore raw

PATCH 18/23 dma: coh901318: add devicetree support

Quoted 7 lines · Linus Walleij

From: Linus Walleij <[email protected]>

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

--
~Vinod

Quoted 31 lines

---
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(+)
drivers/dma/coh901318.c +5 -0
index 797940e..2855646 100644
@@ -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,
 	},
 };
 
Signature · 1 line
1.7.11.3