V4L/DVB (5229): Gl861: use qt1010_tuner_attach function from qt1010.h
[pandora-kernel.git] / drivers / mtd / rfd_ftl.c
index d60cc66..d4b1ba8 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;