Skip to content

Commit

Permalink
mtd: devices: elm: Removes <xx> literals in elm DT node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philip Avinash authored and Artem Bityutskiy committed Feb 4, 2013
1 parent 26738dd commit c80e572
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/mtd/elm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Optional properties:

Example:
elm: elm@0 {
compatible = "ti,am33xx-elm";
compatible = "ti,am3352-elm";
reg = <0x48080000 0x2000>;
interrupts = <4>;
};
2 changes: 1 addition & 1 deletion drivers/mtd/devices/elm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c80e572

Please sign in to comment.