diff options
Diffstat (limited to 'packages/linux/linux-2.6.18/atstk1000-add-platform-data-for-mmc.patch')
-rw-r--r-- | packages/linux/linux-2.6.18/atstk1000-add-platform-data-for-mmc.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.18/atstk1000-add-platform-data-for-mmc.patch b/packages/linux/linux-2.6.18/atstk1000-add-platform-data-for-mmc.patch new file mode 100644 index 0000000000..ed9e0f6c8c --- /dev/null +++ b/packages/linux/linux-2.6.18/atstk1000-add-platform-data-for-mmc.patch @@ -0,0 +1,25 @@ +Index: linux-2.6.18/arch/avr32/boards/atstk1000/atstk1002.c +=================================================================== +--- linux-2.6.18.orig/arch/avr32/boards/atstk1000/atstk1002.c 2006-12-20 12:25:25.000000000 +0100 ++++ linux-2.6.18/arch/avr32/boards/atstk1000/atstk1002.c 2006-12-20 12:26:09.000000000 +0100 +@@ -33,6 +33,11 @@ + }, + }; + ++static struct mmci_platform_data __initdata mmci0_data = { ++ .detect_pin = GPIO_PIO_NONE, ++ .wp_pin = GPIO_PIO_NONE, ++}; ++ + static int __init parse_tag_ethernet(struct tag *tag) + { + int i; +@@ -72,7 +77,7 @@ + + spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info)); + +- at32_add_device_mmci(0); ++ at32_add_device_mmci(0, &mmci0_data); + at32_add_device_spi(0); + at32_add_device_twi(0); + at32_add_device_usb(0); |