diff options
author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2019-02-03 22:47:57 +0100 |
---|---|---|
committer | Roland Hieber <rhi@pengutronix.de> | 2019-02-07 12:34:15 +0100 |
commit | 0cd8a9b06523d6e840827d2d085550fab4c93d08 (patch) | |
tree | afe9e4101261e51522b7708aed17a3c0b6f2ba85 | |
parent | 6ae166207bc8a31d0b75ca23bcca848751e3df78 (diff) | |
download | dt-utils-0cd8a9b06523d6e840827d2d085550fab4c93d08.tar.gz dt-utils-0cd8a9b06523d6e840827d2d085550fab4c93d08.tar.xz |
of_get_devicepath: again correct comment
The cited patch went mainline meanwhile so reflect that in the comment.
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
-rw-r--r-- | src/libdt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libdt.c b/src/libdt.c index 4638678..8ae9978 100644 --- a/src/libdt.c +++ b/src/libdt.c @@ -2391,9 +2391,10 @@ int of_get_devicepath(struct device_node *partition_node, char **devpath, off_t /* * simplest case: This nodepath can directly be translated into - * an eeprom, mtd or block device. Note that for the mtd case an - * out-of-tree kernel patch is required - * (https://patchwork.ozlabs.org/patch/726037/). + * an eeprom, mtd or block device. Note that for the mtd case a + * kernel >= v4.11 is required as it includes the needed commit + * 42e9401bd146 ("mtd: Add partition device node to mtd partition + * devices"). */ dev = of_find_device_by_node_path(partition_node->full_name); if (dev) { |