diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-03-14 15:10:44 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-27 10:11:31 +0300 |
commit | 97b0c7c0df3efd7048ed39d7e2dee34cafd55887 (patch) | |
tree | 82ca6daef7761282c5908f2c6095b5a250c9e7a7 /drivers/mtd/chips/jedec_probe.c | |
parent | c0faf43482e7f7dfb6d61847cb93d17748560b24 (diff) | |
download | linux-97b0c7c0df3efd7048ed39d7e2dee34cafd55887.tar.xz |
mtd: ofpart: add of_match_table with "fixed-partitions"
This allows using this parser with any flash driver that takes care of
setting of_node (using mtd_set_of_node helper) correctly. Up to now
support for "fixed-partitions" DT compatibility string was working only
with flash drivers that were specifying "ofpart" (manually or by letting
mtd use the default set of parsers).
This matches existing bindings documentation.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/chips/jedec_probe.c')
0 files changed, 0 insertions, 0 deletions