Re: [PATCH V4] mtd: m25p80: Modify the name of mtd_info

2014-04-21 Thread Huang Shijie
On Mon, Apr 21, 2014 at 07:06:21PM +0800, Hou Zhiqiang wrote: > To specify spi flash layouts by "mtdparts=..." in cmdline, we must > give mtd_info a fixed name,because the cmdlinepart's parser will > match the name of mtd_info given in cmdline. > Now, if use DT, the mtd_info's name will be spi->dev

[PATCH V4] mtd: m25p80: Modify the name of mtd_info

2014-04-21 Thread Hou Zhiqiang
To specify spi flash layouts by "mtdparts=..." in cmdline, we must give mtd_info a fixed name,because the cmdlinepart's parser will match the name of mtd_info given in cmdline. Now, if use DT, the mtd_info's name will be spi->dev->name. It consists of spi_master->bus_num, and the spi_master->bus_nu