Re: linux-next: Tree for June 24 (mtd + of)

From: Artem Bityutskiy
Date: Sun Jun 26 2011 - 05:44:06 EST


On Sun, 2011-06-26 at 00:11 -0600, Grant Likely wrote:
> > 3.0-rc4 does not have this build error when I use the .config file with it...
> > however, I think that 3.0-rc4 also does not build ofpart.ko as it should.
> >
> > Looks to me like changes in drivers/mtd/{Kconfig && Makefile} caused this
> > build error.
>
> The following commit in linux-next appears to be the culprit:
>
> commit 1a6bc893044b961caae1c5a9c6c2065e608da427
> Author: Dmitry Eremin-Solenikov <dbaryshkov@xxxxxxxxx>
> Date: Sun May 29 21:32:33 2011 +0400
>
> mtd: prepare to convert of_mtd_parse_partitions to partition parser
>
> Prepare to convert of_mtd_parse_partitions() to usual partitions parser:
> 1) Register ofpart parser
> 2) Internally don't use passed device for error printing
> 3) Add device_node to mtd_part_parser_data struct
> 4) Move of_mtd_parse_partitions from __devinit to common text section
> 5) add ofpart to the default list of partition parsers
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@xxxxxxxxx>
> Signed-off-by: Artem Bityutskiy <dedekind1@xxxxxxxxx>
>
> It adds a module_init() call to ofpart.c which does not work the way
> that ofpart.c is linked to mtdcore.o. Seems like that commit series
> still needs work.

OK, let's ask Dmitry to take a look at this.

--
Best Regards,
Artem Bityutskiy (ÐÐÑÑÑÐÐÐ ÐÑÑÑÐ)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/