]> err.no Git - linux-2.6/commitdiff
[ARM] JIVE: Fix the spi bus numbering
authorBen Dooks <ben-linux@fluff.org>
Tue, 26 Aug 2008 21:54:07 +0000 (22:54 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 26 Aug 2008 21:56:22 +0000 (22:56 +0100)
The first spi bus is registered with number 0, but
the board data says that the device on it is registered
on bus 1.

Move the spi bus to bus 1 to keep the compatibility with the
original board-support patches.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2412/mach-jive.c

index 4c061d29463c22151a24f1ed7939c1b1c3712aba..ad980a1690c261b7ea8386616418993b10faf911 100644 (file)
@@ -395,7 +395,7 @@ static void jive_lcd_spi_chipselect(struct s3c2410_spigpio_info *spi, int cs)
 }
 
 static struct s3c2410_spigpio_info jive_lcd_spi = {
-       .bus_num        = 0,
+       .bus_num        = 1,
        .pin_clk        = S3C2410_GPG8,
        .pin_mosi       = S3C2410_GPB8,
        .chip_select    = jive_lcd_spi_chipselect,