diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-04-23 06:43:21 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-23 06:32:10 -0400 |
commit | 697fa9721cbc54ce1604dae09d1be6bb918567f6 (patch) | |
tree | 86359dcb48ae4e08a259c46a675269ba84b90ba3 /drivers/mtd/ubi | |
parent | 8a0f572397ca0673c65c1662946014bb73b5cdc6 (diff) |
UBI: add a message
UBI scan takes quite a time on some systems, so it is nice
to print a message that we started attaching an MTD device.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r-- | drivers/mtd/ubi/build.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index e8578ca422ff..961416ac0616 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c | |||
@@ -763,8 +763,7 @@ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset) | |||
763 | mutex_init(&ubi->volumes_mutex); | 763 | mutex_init(&ubi->volumes_mutex); |
764 | spin_lock_init(&ubi->volumes_lock); | 764 | spin_lock_init(&ubi->volumes_lock); |
765 | 765 | ||
766 | dbg_msg("attaching mtd%d to ubi%d: VID header offset %d", | 766 | ubi_msg("attaching mtd%d to ubi%d", mtd->index, ubi_num); |
767 | mtd->index, ubi_num, vid_hdr_offset); | ||
768 | 767 | ||
769 | err = io_init(ubi); | 768 | err = io_init(ubi); |
770 | if (err) | 769 | if (err) |