]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 e43c668656bc64ace261ee508cbdeea5ff1a20f5..8c1528c421d47b2ca3995cff8a4f80af4942c8fb 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 b93a349ae587fb9d5e31b4e3734b7e8ad97e208b..2ec5da9ee24826a0790399e24cb6271891889cf8 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);