spi: spi_bfin5xx: fix probe() sequencing
authorVitja Makarov <vitja.makarov@gmail.com>
Wed, 9 Apr 2008 00:41:57 +0000 (17:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Apr 2008 01:25:53 +0000 (18:25 -0700)
commitf9e522caece074b9a985436d611127e8e96ad446
treeb552e8851b404f1409983bd8fc1c2a6260b7c3ca
parent4fb98efacffd3dfbe8e3b9cb054dd71bab715065
spi: spi_bfin5xx: fix probe() sequencing

Fix bug in SPI probe: first initialize peripheral pins, and just after
register spi master device.  This fixes problems with SPI drivers built-in
kernel.

Singed-off-by: Vitja Makarov <vitja.makarov@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
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