Blackfin SPI driver: move hard coded pin_req to board file
authorBryan Wu <bryan.wu@analog.com>
Wed, 5 Dec 2007 07:45:22 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:20 +0000 (09:21 -0800)
commit003d922618150eaab53936f57ba8a61f2b601486
tree54bd61e6176b0447d2df30dd7b3aab505b0df6ec
parentf452126c2e4b8bbfd8e41ebdf1e734e3bf18f8e9
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>
drivers/spi/spi_bfin5xx.c
include/asm-blackfin/bfin5xx_spi.h