• N
    mtd: let include/linux/mtd/partitions.h stand on its own · 7699ad35
    Nicolas Pitre 提交于
    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: NNicolas Pitre <nico@marvell.com>
    Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
    7699ad35
partitions.h 2.8 KB