
--- Ales Makarov <ales.makarov@wolfhill.cz> wrote:
>I've written my mtd_partition structure.
>
>Should I add the mtd_device first and then mtd_partitions? (I don't need
>the whole device access)
>
>  flash0_mtd->module = THIS_MODULE;
>  add_mtd_device(flash0_mtd);
>  add_mtd_partitions(flash0_mtd, flash0_parts, FLASH0_PARTS);
>

NO ,I believe you need to add the mtd_partitions only.



Jim Zeus

_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_____________________________________________________________
Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net  http://www.everyone.net/?btn=tag


