diff options
author | Philip Avinash <avinashphilip@ti.com> | 2013-01-24 01:53:30 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 03:07:11 -0500 |
commit | c80e572c029263687b8175f1ba71d425548cafcf (patch) | |
tree | 601c6155b61227b9e0918e20310454a9e1972483 | |
parent | 26738ddb8553f0883c949310337abcf5b353f63d (diff) |
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>
-rw-r--r-- | Documentation/devicetree/bindings/mtd/elm.txt | 2 | ||||
-rw-r--r-- | drivers/mtd/devices/elm.c | 2 |
2 files changed, 2 insertions, 2 deletions
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: | |||
10 | 10 | ||
11 | Example: | 11 | Example: |
12 | elm: elm@0 { | 12 | elm: elm@0 { |
13 | compatible = "ti,am33xx-elm"; | 13 | compatible = "ti,am3352-elm"; |
14 | reg = <0x48080000 0x2000>; | 14 | reg = <0x48080000 0x2000>; |
15 | interrupts = <4>; | 15 | interrupts = <4>; |
16 | }; | 16 | }; |
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) | |||
380 | 380 | ||
381 | #ifdef CONFIG_OF | 381 | #ifdef CONFIG_OF |
382 | static const struct of_device_id elm_of_match[] = { | 382 | static const struct of_device_id elm_of_match[] = { |
383 | { .compatible = "ti,am33xx-elm" }, | 383 | { .compatible = "ti,am3352-elm" }, |
384 | {}, | 384 | {}, |
385 | }; | 385 | }; |
386 | MODULE_DEVICE_TABLE(of, elm_of_match); | 386 | MODULE_DEVICE_TABLE(of, elm_of_match); |