On Tue, 9 Oct 2018 09:11:06 +0200 Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote: > On Tue, 9 Oct 2018 09:04:51 +0200 > Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx> wrote: > > > Hi Boris > > > > Maybe we want to leave the pdata example. > > > > /** > > * The platform resource layout expected looks something like: > > * struct mtd_partition partitions[] = { ... }; > > * struct physmap_flash_data flash_data = > > ..... > > Sure, I'll add it back. Actually I changed my mind on that one. The physmap driver did not document that in the first place, so, if we want to add this example, we should do it in a separate patch, and maybe place it next to the physmap_flash_data struct definition. This being said, I don't see a lot of drivers documenting this sort of things and I doubt new platforms will use pdata to describe their device anyway. ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/