diff options
author | Bryan Wu <bryan.wu@analog.com> | 2007-12-05 07:45:22 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-05 17:21:20 (GMT) |
commit | 003d922618150eaab53936f57ba8a61f2b601486 (patch) | |
tree | 54bd61e6176b0447d2df30dd7b3aab505b0df6ec /include/asm-blackfin/bfin5xx_spi.h | |
parent | f452126c2e4b8bbfd8e41ebdf1e734e3bf18f8e9 (diff) | |
download | linux-003d922618150eaab53936f57ba8a61f2b601486.tar.xz |
Blackfin SPI driver: move hard coded pin_req to board file
Remove some sort of bloaty code, try to get these pin_req arrays built at compile-time
- move this static things to the blackfin board file
- add pin_req array to struct bfin5xx_spi_master
- tested on BF537/BF548 with SPI flash
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-blackfin/bfin5xx_spi.h')
-rw-r--r-- | include/asm-blackfin/bfin5xx_spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-blackfin/bfin5xx_spi.h b/include/asm-blackfin/bfin5xx_spi.h index d4485b3..1a0b57f 100644 --- a/include/asm-blackfin/bfin5xx_spi.h +++ b/include/asm-blackfin/bfin5xx_spi.h @@ -152,6 +152,7 @@ struct bfin5xx_spi_master { u16 num_chipselect; u8 enable_dma; + u16 pin_req[4]; }; /* spi_board_info.controller_data for SPI slave devices, |