summaryrefslogtreecommitdiff
path: root/ubi-utils/include/libubi.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-06-14 13:25:07 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-06-14 13:54:31 +0300
commit5e77e9d5a72d4f7bafc74373d5e44a106a369ceb (patch)
tree3e5e47d7ba2487a409f53a3f27456723ca86dfda /ubi-utils/include/libubi.h
parent8b1c9cad58f5e2055646b57245fc72cca398c264 (diff)
libmtd: add mtd_write_img
Add another helper interface which can be used to write an image to an mtd device. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/include/libubi.h')
-rw-r--r--ubi-utils/include/libubi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/include/libubi.h b/ubi-utils/include/libubi.h
index f029a8d..ffc4be9 100644
--- a/ubi-utils/include/libubi.h
+++ b/ubi-utils/include/libubi.h
@@ -43,8 +43,8 @@ typedef void * libubi_t;
* @dev_num: number to assign to the newly created UBI device
* (%UBI_DEV_NUM_AUTO should be used to automatically assign the
* number)
- * @mtd_num: MTD device number to attach
- * @dev: path to device node to attach
+ * @mtd_num: MTD device number to attach (used if @dev is %NULL)
+ * @dev: path to MTD device node to attach
* @vid_hdr_offset: VID header offset (%0 means default offset and this is what
* most of the users want)
*/