[PATCH / RESENT #3] mtd: let include/linux/mtd/partitions.h stand on its own

Mike Frysinger vapier.adi at gmail.com
Fri Jul 10 15:03:09 EDT 2009


On Fri, Jul 10, 2009 at 14:51, Nicolas Pitre wrote:
> When declaring static MTD partitions in board specific code, only
> including include/linux/mtd/partitions.h should suffice without
> gcc nagging us with:
>
> In file included from arch/arm/mach-kirkwood/sheevaplug-setup.c:14:
> include/linux/mtd/partitions.h:50: warning: 'struct mtd_info' declared inside parameter list
> include/linux/mtd/partitions.h:50: warning: its scope is only this definition or declaration, which is probably not what you want
> include/linux/mtd/partitions.h:51: warning: 'struct mtd_info' declared inside parameter list
> include/linux/mtd/partitions.h:61: warning: 'struct mtd_info' declared inside parameter list
> include/linux/mtd/partitions.h:67: warning: 'struct mtd_info' declared inside parameter list
>
> Signed-off-by: Nicolas Pitre <nico at marvell.com>

Signed-off-by: Mike Frysinger <vapier at gentoo.org>

but this probably wont help your patch get merged ... mtd patches tend
to languish :/
-mike



More information about the linux-mtd mailing list