1 --- a/arch/mips/ath79/mach-ap121.c
2 +++ b/arch/mips/ath79/mach-ap121.c
3 @@ -58,12 +58,18 @@ static struct gpio_keys_button ap121_gpi
7 +static struct ath79_spi_controller_data ap121_spi0_data = {
8 + .cs_type = ATH79_SPI_CS_TYPE_INTERNAL,
12 static struct spi_board_info ap121_spi_info[] = {
16 .max_speed_hz = 25000000,
17 .modalias = "mx25l1606e",
18 + .controller_data = &ap121_spi0_data,
22 --- a/arch/mips/ath79/mach-ap81.c
23 +++ b/arch/mips/ath79/mach-ap81.c
24 @@ -67,12 +67,18 @@ static struct gpio_keys_button ap81_gpio
28 +static struct ath79_spi_controller_data ap81_spi0_data = {
29 + .cs_type = ATH79_SPI_CS_TYPE_INTERNAL,
33 static struct spi_board_info ap81_spi_info[] = {
37 .max_speed_hz = 25000000,
39 + .controller_data = &ap81_spi0_data,
43 --- a/arch/mips/ath79/mach-db120.c
44 +++ b/arch/mips/ath79/mach-db120.c
45 @@ -95,12 +95,18 @@ static struct gpio_keys_button db120_gpi
49 +static struct ath79_spi_controller_data db120_spi0_data = {
50 + .cs_type = ATH79_SPI_CS_TYPE_INTERNAL,
54 static struct spi_board_info db120_spi_info[] = {
58 .max_speed_hz = 25000000,
59 .modalias = "s25sl064a",
60 + .controller_data = &db120_spi0_data,
64 --- a/arch/mips/ath79/mach-pb44.c
65 +++ b/arch/mips/ath79/mach-pb44.c
66 @@ -87,12 +87,18 @@ static struct gpio_keys_button pb44_gpio
70 +static struct ath79_spi_controller_data pb44_spi0_data = {
71 + .cs_type = ATH79_SPI_CS_TYPE_INTERNAL,
75 static struct spi_board_info pb44_spi_info[] = {
79 .max_speed_hz = 25000000,
81 + .controller_data = &pb44_spi0_data,
85 --- a/arch/mips/ath79/mach-ubnt-xm.c
86 +++ b/arch/mips/ath79/mach-ubnt-xm.c
87 @@ -65,12 +65,18 @@ static struct gpio_keys_button ubnt_xm_g
91 +static struct ath79_spi_controller_data ubnt_xm_spi0_data = {
92 + .cs_type = ATH79_SPI_CS_TYPE_INTERNAL,
96 static struct spi_board_info ubnt_xm_spi_info[] = {
100 .max_speed_hz = 25000000,
101 .modalias = "mx25l6405d",
102 + .controller_data = &ubnt_xm_spi0_data,