ar71xx: fix a typo in the db120 mach file
[librecmc/librecmc.git] / target / linux / ar71xx / patches-3.3 / 208-MIPS-ath79-db120-spi-chipselect-fix.patch
1 --- a/arch/mips/ath79/mach-db120.c
2 +++ b/arch/mips/ath79/mach-db120.c
3 @@ -95,12 +95,18 @@ static struct gpio_keys_button db120_gpi
4         },
5  };
6  
7 +static struct ath79_spi_controller_data db120_spi0_data = {
8 +       .cs_type = ATH79_SPI_CS_TYPE_INTERNAL,
9 +       .cs_line = 0,
10 +};
11 +
12  static struct spi_board_info db120_spi_info[] = {
13         {
14                 .bus_num        = 0,
15                 .chip_select    = 0,
16                 .max_speed_hz   = 25000000,
17                 .modalias       = "s25sl064a",
18 +               .controller_data = &db120_spi0_data,
19         }
20  };
21