]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/rfd_ftl.c
Pull osi-now into release branch
[linux-2.6-omap-h63xx.git] / drivers / mtd / rfd_ftl.c
index d60cc6696cbd6cac2778148f7d47c8abce839630..d4b1ba8f23ef40b0dd072fc2c251c46f8f54dc7d 100644 (file)
@@ -768,7 +768,7 @@ static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
        if (mtd->type != MTD_NORFLASH)
                return;
 
-       part = kcalloc(1, sizeof(struct partition), GFP_KERNEL);
+       part = kzalloc(sizeof(struct partition), GFP_KERNEL);
        if (!part)
                return;