aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-03 20:51:13 -0400
committerWolfgang Denk <wd@denx.de>2011-10-17 22:25:33 +0200
commit0d2b0a8f451a31e8d84e3d4866e78951ad6535f2 (patch)
treea42941f62df4c4822504949bf8c838c67768163e
parent5aa5b88404b2b3610d36a9626ec36dcc81194aa9 (diff)
downloadu-boot-linaro-stable-0d2b0a8f451a31e8d84e3d4866e78951ad6535f2.tar.gz
Blackfin: bfin_spi: fix build error when DEBUG is defined
The new debug() changes pointed out debug code that rotted a little. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--drivers/spi/bfin_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/bfin_spi.c b/drivers/spi/bfin_spi.c
index 213e79281..e080bec70 100644
--- a/drivers/spi/bfin_spi.c
+++ b/drivers/spi/bfin_spi.c
@@ -197,7 +197,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
spi_set_speed(&bss->slave, max_hz);
debug("%s: bus:%i cs:%i mmr:%x ctl:%x baud:%i flg:%i\n", __func__,
- bus, cs, mmr_base, bss->ctl, baud, bss->flg);
+ bus, cs, mmr_base, bss->ctl, bss->baud, bss->flg);
return &bss->slave;
}