Browse Source

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

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>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Philip Avinash 12 years ago
parent
commit
c80e572c02
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Documentation/devicetree/bindings/mtd/elm.txt
  2. 1 1
      drivers/mtd/devices/elm.c

+ 1 - 1
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>;
 };

+ 1 - 1
drivers/mtd/devices/elm.c

@@ -380,7 +380,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);