summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-02-09 12:03:16 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-02-10 17:24:02 +0100
commit3742f9e40a8854352e5d38bc7b0a3776827fba39 (patch)
tree48d7af09cc0427ce0f00f91e1437b6397f5e2c34
parent929ed64cb42f954648fb031af8e37e7282f4e4f3 (diff)
downloaddt-utils-3742f9e40a8854352e5d38bc7b0a3776827fba39.tar.gz
dt-utils-3742f9e40a8854352e5d38bc7b0a3776827fba39.tar.xz
of_get_devicepath: correct comment and add link to external patch
-rw-r--r--src/libdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libdt.c b/src/libdt.c
index 952fd65..c4376d0 100644
--- a/src/libdt.c
+++ b/src/libdt.c
@@ -2314,9 +2314,9 @@ int of_get_devicepath(struct device_node *partition_node, char **devpath, off_t
/*
* simplest case: This nodepath can directly be translated into
- * a mtd or eeprom device. A mtd device requires that the mtd
- * partitions have a device_node set in the kernel. This requires
- * an out-of-tree kernel patch.
+ * 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/).
*/
dev = of_find_device_by_node_path(partition_node->full_name);
if (dev) {