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>
tirimbino
Philip Avinash 12 years ago committed by Artem Bityutskiy
parent 26738ddb85
commit c80e572c02
  1. 2
      Documentation/devicetree/bindings/mtd/elm.txt
  2. 2
      drivers/mtd/devices/elm.c

@ -10,7 +10,7 @@ Optional properties:
Example:
elm: elm@0 {
compatible = "ti,am33xx-elm";
compatible = "ti,am3352-elm";
reg = <0x48080000 0x2000>;
interrupts = <4>;
};

@ -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);

Loading…
Cancel
Save