diff options
Diffstat (limited to 'common/fb_nand.c')
-rw-r--r-- | common/fb_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fb_nand.c b/common/fb_nand.c index c8c79e9238..3d027d4375 100644 --- a/common/fb_nand.c +++ b/common/fb_nand.c @@ -59,7 +59,7 @@ static int fb_nand_lookup(const char *partname, return -EINVAL; } - *mtd = nand_info[dev->id->num]; + *mtd = get_nand_dev_by_index(dev->id->num); return 0; } |