summaryrefslogtreecommitdiff
path: root/drivers
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 /drivers
parent5aa5b88404b2b3610d36a9626ec36dcc81194aa9 (diff)
downloadu-boot-imx-0d2b0a8f451a31e8d84e3d4866e78951ad6535f2.zip
u-boot-imx-0d2b0a8f451a31e8d84e3d4866e78951ad6535f2.tar.gz
u-boot-imx-0d2b0a8f451a31e8d84e3d4866e78951ad6535f2.tar.bz2
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>
Diffstat (limited to 'drivers')
-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 213e792..e080bec 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;
}