Loading drivers/mtd/maps/physmap_of.c +1 −2 Original line number Diff line number Diff line Loading @@ -230,8 +230,7 @@ static int __devinit of_flash_probe(struct of_device *dev, #ifdef CONFIG_MTD_OF_PARTS if (err == 0) { err = of_mtd_parse_partitions(&dev->dev, info->mtd, dp, &info->parts); err = of_mtd_parse_partitions(&dev->dev, dp, &info->parts); if (err < 0) return err; } Loading drivers/mtd/nand/fsl_elbc_nand.c +1 −2 Original line number Diff line number Diff line Loading @@ -918,8 +918,7 @@ static int __devinit fsl_elbc_chip_probe(struct fsl_elbc_ctrl *ctrl, #ifdef CONFIG_MTD_OF_PARTS if (ret == 0) { ret = of_mtd_parse_partitions(priv->dev, &priv->mtd, node, &parts); ret = of_mtd_parse_partitions(priv->dev, node, &parts); if (ret < 0) goto err; } Loading drivers/mtd/ofpart.c +0 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <linux/mtd/partitions.h> int __devinit of_mtd_parse_partitions(struct device *dev, struct mtd_info *mtd, struct device_node *node, struct mtd_partition **pparts) { Loading include/linux/mtd/partitions.h +0 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ struct device; struct device_node; int __devinit of_mtd_parse_partitions(struct device *dev, struct mtd_info *mtd, struct device_node *node, struct mtd_partition **pparts); Loading Loading
drivers/mtd/maps/physmap_of.c +1 −2 Original line number Diff line number Diff line Loading @@ -230,8 +230,7 @@ static int __devinit of_flash_probe(struct of_device *dev, #ifdef CONFIG_MTD_OF_PARTS if (err == 0) { err = of_mtd_parse_partitions(&dev->dev, info->mtd, dp, &info->parts); err = of_mtd_parse_partitions(&dev->dev, dp, &info->parts); if (err < 0) return err; } Loading
drivers/mtd/nand/fsl_elbc_nand.c +1 −2 Original line number Diff line number Diff line Loading @@ -918,8 +918,7 @@ static int __devinit fsl_elbc_chip_probe(struct fsl_elbc_ctrl *ctrl, #ifdef CONFIG_MTD_OF_PARTS if (ret == 0) { ret = of_mtd_parse_partitions(priv->dev, &priv->mtd, node, &parts); ret = of_mtd_parse_partitions(priv->dev, node, &parts); if (ret < 0) goto err; } Loading
drivers/mtd/ofpart.c +0 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <linux/mtd/partitions.h> int __devinit of_mtd_parse_partitions(struct device *dev, struct mtd_info *mtd, struct device_node *node, struct mtd_partition **pparts) { Loading
include/linux/mtd/partitions.h +0 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ struct device; struct device_node; int __devinit of_mtd_parse_partitions(struct device *dev, struct mtd_info *mtd, struct device_node *node, struct mtd_partition **pparts); Loading