diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/rfd_ftl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/rfd_ftl.c b/drivers/mtd/rfd_ftl.c index fa4362fb4dd8..0f3baa5d9c2a 100644 --- a/drivers/mtd/rfd_ftl.c +++ b/drivers/mtd/rfd_ftl.c | |||
@@ -768,7 +768,7 @@ static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) | |||
768 | if (mtd->type != MTD_NORFLASH) | 768 | if (mtd->type != MTD_NORFLASH) |
769 | return; | 769 | return; |
770 | 770 | ||
771 | part = kcalloc(1, sizeof(struct partition), GFP_KERNEL); | 771 | part = kzalloc(sizeof(struct partition), GFP_KERNEL); |
772 | if (!part) | 772 | if (!part) |
773 | return; | 773 | return; |
774 | 774 | ||