From: Philip Avinash Date: Thu, 24 Jan 2013 06:53:30 +0000 (+0530) Subject: mtd: devices: elm: Removes literals in elm DT node X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c80e572c029263687b8175f1ba71d425548cafcf;p=linux-beck.git mtd: devices: elm: Removes literals in elm DT node As part of removing generalized dependency, replace literal fields in DT compatible field with <52> for am335x platforms. Signed-off-by: Philip Avinash Acked-by: Peter Korsgaard Signed-off-by: Artem Bityutskiy --- diff --git a/Documentation/devicetree/bindings/mtd/elm.txt b/Documentation/devicetree/bindings/mtd/elm.txt index e43c668656bc..8c1528c421d4 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 b93a349ae587..2ec5da9ee248 100644 --- a/drivers/mtd/devices/elm.c +++ b/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);