mtd: devices: elm: Removes <xx> literals in elm DT node
authorPhilip Avinash <avinashphilip@ti.com>
Thu, 24 Jan 2013 06:53:30 +0000 (12:23 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Feb 2013 08:07:11 +0000 (10:07 +0200)
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>
Documentation/devicetree/bindings/mtd/elm.txt
drivers/mtd/devices/elm.c

index e43c668..8c1528c 100644 (file)
@@ -10,7 +10,7 @@ Optional properties:
 
 Example:
 elm: elm@0 {
-       compatible      = "ti,am33xx-elm";
+       compatible = "ti,am3352-elm";
        reg = <0x48080000 0x2000>;
        interrupts = <4>;
 };
index b93a349..2ec5da9 100644 (file)
@@ -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);