summaryrefslogtreecommitdiff
path: root/lib/libmtd_legacy.c
diff options
context:
space:
mode:
authorXiaolei Li <xiaolei.li@mediatek.com>2018-04-10 15:36:56 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2018-04-10 15:38:59 +0200
commit165f2cd9f5d63fb3b3200d2ad202cf3e4f820fc4 (patch)
tree731b63df39b4eb051d9e73367e8facc10e2a34c2 /lib/libmtd_legacy.c
parenta10353584f93334b5687c598a15260c0fc5b8d3e (diff)
libmtd_legacy: Fix some function description mismatches
Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/libmtd_legacy.c')
-rw-r--r--lib/libmtd_legacy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libmtd_legacy.c b/lib/libmtd_legacy.c
index e1ab48e..97fef04 100644
--- a/lib/libmtd_legacy.c
+++ b/lib/libmtd_legacy.c
@@ -54,7 +54,7 @@
* @name: device name
* @buf: contents of /proc/mtd
* @data_size: how much data was read into @buf
- * @pos: next string in @buf to parse
+ * @next: next string in @buf to parse
*/
struct proc_parse_info
{
@@ -164,8 +164,8 @@ int legacy_procfs_is_supported(void)
}
/**
- * legacy_dev_presentl - legacy version of 'mtd_dev_present()'.
- * @info: the MTD device information is returned here
+ * legacy_dev_present - legacy version of 'mtd_dev_present()'.
+ * @mtd_num: MTD device number
*
* When the kernel does not provide sysfs files for the MTD subsystem,
* fall-back to parsing the /proc/mtd file to determine whether an mtd device
@@ -404,7 +404,7 @@ out_close:
/**
* legacy_get_dev_info1 - legacy version of 'mtd_get_dev_info1()'.
- * @node: name of the MTD device node
+ * @mtd_num: MTD device number
* @mtd: the MTD device information is returned here
*
* This function is similar to 'mtd_get_dev_info1()' and has the same