Re: [PATCH] mtd: m25p80: Make the name of mtd_info fixed

2014-02-10 Thread Brian Norris
@lists.infradead.org; linuxppc-...@ozlabs.org; Wood Scott- > > B07421; Hu Mingkai-B21284; Ezequiel Garcia > > Subject: Re: [PATCH] mtd: m25p80: Make the name of mtd_info fixed > > > > On Mon, Jan 06, 2014 at 02:34:29PM +0800, Hou Zhiqiang wrote: > > > --- a/driver

RE: [PATCH] mtd: m25p80: Make the name of mtd_info fixed

2014-01-22 Thread b48...@freescale.com
Hu Mingkai-B21284; Ezequiel Garcia > Subject: Re: [PATCH] mtd: m25p80: Make the name of mtd_info fixed > > Hi Hou, > > On Mon, Jan 06, 2014 at 02:34:29PM +0800, Hou Zhiqiang wrote: > > To give spi flash layout using "mtdparts=..." in cmdline, we must give > >

Re: [PATCH] mtd: m25p80: Make the name of mtd_info fixed

2014-01-22 Thread Brian Norris
Hi Hou, On Mon, Jan 06, 2014 at 02:34:29PM +0800, Hou Zhiqiang wrote: > To give spi flash layout using "mtdparts=..." in cmdline, we must > give mtd_info a fixed name,because the cmdlinepart's parser will > match the name given in cmdline with the mtd_info. > > Now, if use OF node, mtd_info's nam

[PATCH] mtd: m25p80: Make the name of mtd_info fixed

2014-01-06 Thread Hou Zhiqiang
To give spi flash layout using "mtdparts=..." in cmdline, we must give mtd_info a fixed name,because the cmdlinepart's parser will match the name given in cmdline with the mtd_info. Now, if use OF node, mtd_info's name will be spi->dev->name. It consists of spi_master->bus_num, and the spi_master-