[PATCH v2 09/11] mtd: drop unnecessary partition parser data

Brian Norris computersforpeace at gmail.com
Wed Nov 11 15:47:36 PST 2015


On Thu, Nov 05, 2015 at 09:49:30AM +0100, Boris Brezillon wrote:
> On Fri, 30 Oct 2015 20:33:28 -0700
> Brian Norris <computersforpeace at gmail.com> wrote:
> 
> > --- a/drivers/mtd/maps/lantiq-flash.c
> > +++ b/drivers/mtd/maps/lantiq-flash.c
> > @@ -110,7 +110,6 @@ ltq_copy_to(struct map_info *map, unsigned long to,
> >  static int
> >  ltq_mtd_probe(struct platform_device *pdev)
> >  {
> > -	struct mtd_part_parser_data ppdata;
> >  	struct ltq_mtd *ltq_mtd;
> >  	struct cfi_private *cfi;
> >  	int err;
> > @@ -161,13 +160,13 @@ ltq_mtd_probe(struct platform_device *pdev)
> >  	}
> >  
> >  	ltq_mtd->mtd->dev.parent = &pdev->dev;
> > +	mtd_set_of_node(&ltq_mtd->mtd, pdev->dev.of_node);
> 
> Should be:
> 
> 	mtd_set_of_node(ltq_mtd->mtd, pdev->dev.of_node);
> 
> (This error was reported by your aiaiai build test)

Fixed that build error and pushed the rest of my 11 patches to
l2-mtd.git/next.



More information about the linux-mtd mailing list