spi: spi_bfin: handle multiple spi_masters
authorBryan Wu <bryan.wu@analog.com>
Wed, 5 Dec 2007 07:45:18 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:19 +0000 (09:21 -0800)
commitbb90eb00b6c28c8be5a69c6b58d5a6924f6f2ad7
tree946d2f6eb925a8d614e049a6e5157a543a4b0081
parent3f479a65b3f49ee4f058a965e6e33d97ee467b68
spi: spi_bfin: handle multiple spi_masters

Move global SPI regs_base and dma_ch to struct driver_data.  Test on BF54x SPI
Flash with 2 spi_master devices enabled.

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_bfin5xx.c