Skip to content
Commit 498f5faf authored by Quanyang Wang's avatar Quanyang Wang Committed by Bruce Ashfield
Browse files

yaffs: repair yaffs_get_mtd_device



The function yaffs_get_mtd_device use wrong function to retrieve
mtd_info structure (using yaffs_get_mtd_device itself will cause
dead loop).

Use get_mtd_device to do this.

Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 7ca3c08e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment