OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | --- a/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h |
2 | +++ b/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h |
||
3 | @@ -14,6 +14,7 @@ |
||
4 | struct ath79_spi_platform_data { |
||
5 | unsigned bus_num; |
||
6 | unsigned num_chipselect; |
||
7 | + int *cs_gpios; |
||
8 | }; |
||
9 | |||
10 | #endif /* _ATH79_SPI_PLATFORM_H */ |
||
11 | --- a/drivers/spi/spi-ath79.c |
||
12 | +++ b/drivers/spi/spi-ath79.c |
||
13 | @@ -231,6 +231,7 @@ static int ath79_spi_probe(struct platfo |
||
14 | if (pdata) { |
||
15 | master->bus_num = pdata->bus_num; |
||
16 | master->num_chipselect = pdata->num_chipselect; |
||
17 | + master->cs_gpios = pdata->cs_gpios; |
||
18 | } |
||
19 | |||
20 | sp->bitbang.master = master; |