Messages in this thread Patch in this message | | | Date | Thu, 14 Sep 2006 16:31:21 +0200 | From | Haavard Skinnemoen <> | Subject | [-mm patch 2/4] AVR32 MTD: Define struct flash_platform_data |
| |
Define a data structure for passing board-specific information to an MTD mapping driver. For now it specifies a default partition layout.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> --- include/asm-avr32/arch-at32ap/board.h | 7 +++++++ 1 file changed, 7 insertions(+)
Index: linux-2.6.18-rc5-mm1/include/asm-avr32/arch-at32ap/board.h =================================================================== --- linux-2.6.18-rc5-mm1.orig/include/asm-avr32/arch-at32ap/board.h 2006-09-07 15:14:20.000000000 +0200 +++ linux-2.6.18-rc5-mm1/include/asm-avr32/arch-at32ap/board.h 2006-09-07 15:19:08.000000000 +0200 @@ -6,6 +6,13 @@ #include <linux/types.h> +struct mtd_partition; + +struct flash_platform_data { + unsigned int nr_parts; + struct mtd_partition *parts; +}; + /* Add basic devices: system manager, interrupt controller, portmuxes, etc. */ void at32_add_system_devices(void); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |