Patchwork mtd: devices: elm: Removes <xx> literals in elm DT node

login
register
mail settings
Submitter Philip, Avinash
Date Jan. 24, 2013, 6:53 a.m.
Message ID <9580c5839ea64e09ddd61610ce922d7cd1adc861.1359010256.git.avinashphilip@ti.com>
Download mbox | patch
Permalink /patch/215262/
State Accepted
Commit c80e572c029263687b8175f1ba71d425548cafcf
Headers show

Comments

Philip, Avinash - Jan. 24, 2013, 6:53 a.m.
As part of removing generalized dependency, replace <xx> literal fields
in DT compatible field with <52> for am335x platforms.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
---
 Documentation/devicetree/bindings/mtd/elm.txt |    2 +-
 drivers/mtd/devices/elm.c                     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Peter Korsgaard - Jan. 24, 2013, 8:30 a.m.
>>>>> "Philip" == Philip Avinash <avinashphilip@ti.com> writes:

 Philip> As part of removing generalized dependency, replace <xx>
 Philip> literal fields in DT compatible field with <52> for am335x
 Philip> platforms.

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Philip, Avinash - Jan. 31, 2013, 3:58 a.m.
Hi Artem,

On Thu, Jan 24, 2013 at 14:00:38, Peter Korsgaard wrote:
> >>>>> "Philip" == Philip Avinash <avinashphilip@ti.com> writes:
> 
>  Philip> As part of removing generalized dependency, replace <xx>
>  Philip> literal fields in DT compatible field with <52> for am335x
>  Philip> platforms.
> 
> Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Can you please accept this patch for am3352 compatibility in ELM node.

Peter,
Thanks for ack.

Thanks
Avinash

> 
> -- 
> Bye, Peter Korsgaard
>
Artem Bityutskiy - Feb. 4, 2013, 8:08 a.m.
On Thu, 2013-01-24 at 12:23 +0530, Philip Avinash wrote:
> As part of removing generalized dependency, replace <xx> literal fields
> in DT compatible field with <52> for am335x platforms.
> 
> Signed-off-by: Philip Avinash <avinashphilip@ti.com>

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/Documentation/devicetree/bindings/mtd/elm.txt b/Documentation/devicetree/bindings/mtd/elm.txt
index e43c668..8c1528c 100644
--- a/Documentation/devicetree/bindings/mtd/elm.txt
+++ b/Documentation/devicetree/bindings/mtd/elm.txt
@@ -10,7 +10,7 @@  Optional properties:
 
 Example:
 elm: elm@0 {
-	compatible	= "ti,am33xx-elm";
+	compatible = "ti,am3352-elm";
 	reg = <0x48080000 0x2000>;
 	interrupts = <4>;
 };
diff --git a/drivers/mtd/devices/elm.c b/drivers/mtd/devices/elm.c
index f78f43f..f034239 100644
--- a/drivers/mtd/devices/elm.c
+++ b/drivers/mtd/devices/elm.c
@@ -381,7 +381,7 @@  static int elm_remove(struct platform_device *pdev)
 
 #ifdef CONFIG_OF
 static const struct of_device_id elm_of_match[] = {
-	{ .compatible = "ti,am33xx-elm" },
+	{ .compatible = "ti,am3352-elm" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, elm_of_match);