summaryrefslogtreecommitdiff
path: root/ubi-utils/src/libmtd.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-04-20 13:03:21 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-04-20 16:29:39 +0300
commitfc85dfd76f97387ccddb46861effa6c386901218 (patch)
tree266019e4e57901242c7f84e559a0aa3aa7454652 /ubi-utils/src/libmtd.c
parentb03c80c7d84e14ab1a28311db4bc7eb08948c569 (diff)
libmtd: rename mtd_get_info
Rename 'mtd_get_info()' into 'mtd_get_dev_info()' to be consistent to libubi. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/libmtd.c')
-rw-r--r--ubi-utils/src/libmtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/libmtd.c b/ubi-utils/src/libmtd.c
index 127d0ec..8403c37 100644
--- a/ubi-utils/src/libmtd.c
+++ b/ubi-utils/src/libmtd.c
@@ -33,7 +33,7 @@
#define PROGRAM_NAME "libmtd"
#define MTD_DEV_MAJOR 90
-int mtd_get_info(const char *node, struct mtd_info *mtd)
+int mtd_get_dev_info(const char *node, struct mtd_info *mtd)
{
struct stat st;
struct mtd_info_user ui;