]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[AVR32] STK1000: Set SPI_MODE_3 in the ltv350qv board info
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 29 May 2007 19:33:37 +0000 (21:33 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 14 Jun 2007 16:30:50 +0000 (18:30 +0200)
In the latest incarnation of the ltv350qv driver the call to
spi_setup() has been removed. So we need to initialize things more
carefully in the board info struct.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/boards/atstk1000/atstk1002.c

index fe1dbe2e28f49a82508dd966e07af6de243cf0ea..e253e86a1a39205b478a047b33d87fbad974c70d 100644 (file)
@@ -42,6 +42,7 @@ static struct spi_board_info spi0_board_info[] __initdata = {
                .modalias       = "ltv350qv",
                .max_speed_hz   = 16000000,
                .chip_select    = 1,
+               .mode           = SPI_MODE_3,
        },
 };