[PATCH -next] mtd: fix physmap.h warnings

Russell King rmk at arm.linux.org.uk
Tue May 24 03:40:20 EDT 2011


On Tue, May 24, 2011 at 08:58:03AM +0300, Artem Bityutskiy wrote:
> On Tue, 2011-05-24 at 08:53 +0300, Artem Bityutskiy wrote:
> > On Mon, 2011-05-23 at 11:37 -0700, Randy Dunlap wrote:
> > > From: Randy Dunlap <randy.dunlap at oracle.com>
> > > 
> > > Fix build warnings in physmap.h:
> > > 
> > > include/linux/mtd/physmap.h:25: warning: 'struct platform_device' declared inside parameter list
> > > include/linux/mtd/physmap.h:25: warning: its scope is only this definition or declaration, which is probably not what you want
> > > include/linux/mtd/physmap.h:26: warning: 'struct platform_device' declared inside parameter list
> > > include/linux/mtd/physmap.h:27: warning: 'struct platform_device' declared inside parameter list
> > > 
> > > Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
> > 
> > Oh, this was missed during review.  This was introduced in
> > b7281ca2a4b00044c60c25059f467d05772cdbe3 which is going in via Russel's
> > tree, so I guess Russel could pick up your patch.
> 
> My big apologies, s/Russel/Russell/.

Which patch?  Neither of these messages contained Randy's patch and I
wasn't included on the original posting.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:



More information about the linux-mtd mailing list