summaryrefslogtreecommitdiff
path: root/common/fb_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/fb_nand.c')
-rw-r--r--common/fb_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fb_nand.c b/common/fb_nand.c
index c770effd79..e55ea3872f 100644
--- a/common/fb_nand.c
+++ b/common/fb_nand.c
@@ -62,7 +62,7 @@ static int fb_nand_lookup(const char *partname, char *response,
return -EINVAL;
}
- *mtd = &nand_info[dev->id->num];
+ *mtd = nand_info[dev->id->num];
return 0;
}